The short answer

Version MCP tool schemas as versioned product contracts, not as documentation that can change whenever the implementation changes.

For a small team, the safest policy is simple:

  • Additive changes can usually ship in a backward-compatible release.
  • Breaking changes need a new contract, a migration path, and a coordinated release.
  • Cached schemas must be treated as stale copies of a contract, not harmless metadata.
  • Rollback must restore both the server implementation and the contract that clients expect.

The important distinction is between the MCP protocol version and the schema of an individual tool. MCP version negotiation tells a client and server which protocol revision they are speaking. It does not tell a client that every tool contract remains unchanged. A server can remain protocol-compatible while breaking an agent workflow by renaming a required input, narrowing an accepted value, or changing the shape of structured output.

That is why schema versioning belongs in your release process even if you operate only one server and a few clients.

What you are actually versioning

An MCP tool has a public contract made up of more than its name and description. In practical terms, clients depend on:

  • The tool name
  • The tool title and description used to decide when to invoke it
  • The inputSchema and its accepted arguments
  • The outputSchema, when structured output is provided
  • The shape and meaning of structuredContent
  • Error behavior that callers may handle
  • Whether the tool list changes during a session

MCP tools are model-controlled: clients discover them and may invoke them automatically based on the available metadata. That makes an apparently small schema change commercially important. A changed field may cause invalid arguments, failed tool calls, incorrect tool selection, or an agent that completes the wrong business operation.

The current MCP specification also establishes JSON Schema 2020-12 as the default dialect for embedded schemas when no $schema declaration is present. Schemas may declare another dialect explicitly, but they still need to be valid under their declared or default dialect. This removes some ambiguity about schema interpretation, but it does not solve application-level compatibility.

Treat the following as separate version lines:

Version What it identifies Typical compatibility question
MCP protocol version The protocol revision spoken by client and server Does this implementation support the requested protocol revision?
Tool contract version The input and output contract of one tool Can an existing client still use this tool correctly?
Server release version The deployable implementation Can the previous implementation be restored safely?

Do not assume that a server release number automatically tells a client which tool contracts changed. Publish that mapping explicitly.

The compatibility rule small teams should adopt

Start with a one-sentence rule:

A client using a previously valid tool contract must continue to receive a valid, semantically equivalent result.

Then classify each proposed schema change against that rule.

Usually additive and backward-compatible

These changes expand what the server accepts without removing or reinterpreting existing behavior:

  • Adding an optional input property
  • Adding a new enum member when the server preserves the meaning of existing members
  • Adding an optional output property
  • Adding a new tool
  • Adding descriptive metadata that does not change selection semantics
  • Relaxing validation for an input that was previously rejected, while retaining its old meaning

An added optional input is usually safe for request producers. For response consumers, however, adding an output property can still break strict decoders. That is why “optional” is not automatically harmless: test the clients you actually support, including strict generated clients.

Adding a new tool is usually compatible for existing clients, although clients may have selection constraints or prompt budgets. If a server advertises tool-list changes, it should emit the relevant change notification according to its declared capabilities. The current tools specification also recommends deterministic ordering of the tool list because clients may cache it.

Breaking even when it looks small

Treat these as breaking changes:

  • Renaming or removing a tool
  • Renaming an input or output property
  • Adding a new required input
  • Removing an optional input that clients may send
  • Changing an input’s type, format, pattern, or validation constraint
  • Narrowing an enum by removing accepted values
  • Changing an enum member’s meaning while retaining its spelling
  • Changing a numeric range or string length
  • Changing the type or structure of structuredContent
  • Making an optional output property mandatory
  • Changing units, pagination semantics, identifiers, or error meanings
  • Changing a tool’s behavior in a way that produces a different business outcome

Two examples illustrate the difference. Changing a description from “Return unpaid invoices” to “Return invoices created after a date” does not alter the JSON shape, but it changes what the agent is likely to do. Adding currency: "USD" to an output may not invalidate the JSON, but it can cause a client that assumed dollars to misinterpret euros.

Semantic compatibility matters as much as syntactic compatibility.

Conditional or gray-area changes

Some changes require deliberate testing rather than a mechanical label:

  • Adding an enum value
  • Adding an output property
  • Relaxing a constraint
  • Changing a default
  • Changing a description

For an enum addition, ask whether old clients can handle the new member. A generated enum type may reject it; a human-readable label may change sorting or display. For a default change, ask whether the default can affect a destructive action. Defaults are part of the contract even when they are not visible in the input schema.

A useful small-team rule is: if you cannot explain the behavior of an older client with the new schema, classify the change as breaking until you can.

Give every tool contract an explicit identity

Tool names alone are not a sufficient version mechanism. Renaming create_invoice to create_invoice_v2 is often worse than preserving the old name because it breaks discovery and leaves two semantically overlapping tools in the catalog.

A more durable approach is to maintain a contract registry in the server repository. For each tool, record:

tool: create_invoice
contract_version: 3
input_schema_digest: sha256:<generated-digest>
output_schema_digest: sha256:<generated-digest>
introduced_protocol: "2025-11-25"
deprecated: false
replacement: null

The digests should be generated from the actual published schemas in CI. Do not maintain them by hand.

For every release, publish a compatibility report that answers:

  1. Which tools were added or removed?
  2. Which input or output schemas changed?
  3. Which changes are additive, breaking, or conditionally safe?
  4. Which contract versions are supported?
  5. Can the previous release still serve the previous contract?
  6. What is the rollback target?

You do not need a complicated release process. A versioned file in the repository, generated during CI, and attached to the deployment is enough for many small teams.

Version schemas without surprising clients

There are three practical options.

Option 1: Expand and deprecate

Keep the existing tool and schema operational. Add new fields or a new tool, then migrate clients gradually.

For example, if create_invoice currently accepts a required amount and a new operation needs a currency, you can first add an optional currency with a documented legacy behavior. Once clients send it reliably, make it required only in a later breaking release.

This is usually the best option when clients are numerous or upgrades are slow. Its cost is temporary complexity: the server must understand both old and new behavior.

Option 2: Publish a new contract under a new name

Use a distinct tool name, such as create_invoice_v2, while leaving create_invoice available during migration.

This is appropriate for large semantic changes, but it creates catalog clutter and can confuse model selection when both tools have similar descriptions. Publish a clear deprecation date and stop advertising the old tool only after known clients have migrated or an explicit compatibility window closes.

Do not expose old and new variants indefinitely “just in case.” A growing catalog increases selection ambiguity and makes every release harder to test.

Option 3: Break the contract under an explicit release policy

For a controlled environment—such as a single client you also own—you can replace the schema in one coordinated deployment.

This is simple but risky if a client caches the old schema, a long-running session persists, or a third-party integration calls the tool directly. Use it only when you can identify the consumers and invalidate their caches atomically.

Coordinate the upgrade, not just the server

The server release is only half the migration. A client may already hold a cached tool description or schema and may not refresh it before invoking the tool.

A safe coordinated release follows this order:

  1. Server accepts old and new contracts. The new deployment supports the previous contract and the intended new contract.
  2. Clients publish or retrieve the new contract. The server advertises the change according to the client’s supported notification behavior, and clients invalidate or refresh cached contracts as needed.
  3. Usage moves forward. Internal clients, early adopters, or selected tenants begin sending the new shape.
  4. Old contract usage declines. Track invocation and validation failures by contract version.
  5. Old contract is removed. Remove it in a later release with a published notice, not as part of the first schema change.

The overlap period is the safety mechanism. It prevents a fast server rollout from outrunning slow client upgrades.

For a hosted MCP service, this overlap also protects paying customers. A developer entrepreneur who silently changes a tool contract can turn a routine deployment into a customer incident and force customers to rewrite workflows to preserve revenue delivery.

Treat cached contracts as an explicit failure mode

Suppose the server changes due_date from an ISO date string to a Unix timestamp. The implementation is correct, but a client still sends the old format. The failure may appear as schema validation, type coercion, a confusing downstream date error, or silently wrong behavior.

Monitor and log at least these dimensions:

  • Server release version
  • Tool name
  • Published contract version
  • Input schema digest
  • Validation error code
  • Client identifier or compatible client version
  • Chosen fallback behavior

Avoid logging sensitive argument values. Hashing or recording a digest can often reveal that an old contract is still in use without retaining customer data.

If a client reports a schema mismatch, do not automatically retry with guessed values. A schema violation may mean the client is stale, but it may also indicate a real bug or a newer client using an unsupported contract. Return a structured, machine-readable error that includes the expected contract version where disclosure is safe.

A useful error shape is:

{
  "code": "tool_contract_mismatch",
  "message": "The supplied arguments do not match the active contract.",
  "data": {
    "tool": "create_invoice",
    "supported_contract_versions": [3, 2],
    "detected_contract_version": 1
  }
}

The client can then refresh its contract and retry deliberately. Silent retries can cause duplicate business actions, especially for payment, invoicing, messaging, or data-writing tools.

Roll back the contract, not only the code

A deployment rollback that restores old code but leaves a new schema advertised can make the failure worse. The client may learn the new schema, then invoke an implementation that expects the old one—or vice versa.

Before every schema release, prepare a rollback unit containing:

  • The previous server artifact
  • The previous tool schemas
  • The previous tool descriptions and metadata
  • The previous contract registry
  • Any compatibility shims that were part of the release

A safe rollback has three properties:

  1. It restores the advertised contract. Clients discovering tools after rollback must receive the old schema.
  2. It accepts requests from clients still using the old contract. The old implementation should already understand that contract.
  3. It avoids duplicate side effects. Retries of non-idempotent calls need an idempotency key or an equivalent deduplication mechanism.

If the new release made a breaking change immediately, rollback cannot restore confidence by itself. Clients may already have adopted the new contract. This is why expanding-and-deprecating is safer than a synchronized cutover when client inventories are imperfect.

For remote servers, use a canary or tenant-level rollout when the deployment platform supports it. Roll back the routing target, not merely the application process, and verify that tools/list returns the expected schema after the switch.

A practical release checklist

Before merging a schema change, answer these questions:

Contract

  • Which tool and contract version are affected?
  • Is the change syntactic, semantic, or both?
  • Can a previous client still send the same inputs and interpret the same outputs?
  • Does the change alter defaults, units, ordering, pagination, or side effects?
  • Is the JSON Schema dialect explicitly declared or correctly using the default?

Compatibility

  • Which existing clients are affected?
  • Does the server support the old contract during migration?
  • Are generated clients strict about additional properties or unknown enum members?
  • Are cached tool lists invalidated or refreshed?\n- Is there a machine-readable error for contract mismatches?

Release

  • Is the compatibility report attached to the release?
  • Can the old contract and old server artifact be restored?
  • Are writes idempotent or protected from duplicate retries?
  • Have you tested discovery, invocation, structured output, and rollback separately?
  • Is a removal date or migration notice documented before deprecation begins?

Operations

  • Can you distinguish a stale client from a buggy caller in logs?
  • Can you route traffic back to the previous release quickly?
  • Can you disable the new contract independently of the server release?
  • Do support staff know what changed and which clients are affected?

What to automate first

A small team does not need a complete schema registry platform. Automate the high-value checks:

  1. Diff each published input and output schema against the previous release.
  2. Fail the build when a tool is removed or renamed without an explicit breaking-change flag.
  3. Flag changed required fields, narrowed enums, changed types, and changed output properties.
  4. Validate schemas against their declared JSON Schema dialect.
  5. Run contract tests for the old and new schemas during the overlap window.
  6. Verify that rollback restores the previous schema digest.
  7. Publish the compatibility report with the deployment.

The most important test is not merely “does the new schema validate?” It is “does a stored old request remain valid under the new contract?” That catches the failures that matter to customers and agents.

Frequently asked questions

Is renaming a tool always a breaking change?\n

For practical purposes, yes. MCP clients use tool metadata to discover and select tools. A rename can break tool selection even if clients receive the new list correctly. Prefer keeping the old name and expanding the contract.

Is adding an optional parameter safe?\n

It is usually compatible on the request side, but not automatically safe for every implementation. Check whether clients send unknown fields, whether servers behave differently when the field is absent, and whether an agent might confuse the new option with the old workflow.

Can JSON Schema 2020-12 remove the need for versioning?\n

No. A common schema dialect reduces disagreement about how a schema is interpreted. It does not determine whether old inputs remain valid, whether outputs retain the same meaning, or how clients migrate.

Should every server release change the tool schema version?\n

No. A release may contain implementation fixes that preserve the contract. Increment the contract version only when its compatibility or semantics change. Conversely, do not use a server release number as a substitute for a contract version.

How long should an old contract remain supported?\n

There is no universal period. Keep it for as long as known active clients need it, ideally with a defined deprecation date and usage visibility. Remove it once clients have migrated, the contract has no remaining consumers, and removing it cannot silently break a paying workflow.

The bottom line for a small team

The fastest safe path is not to invent a sophisticated versioning platform. It is to establish four concrete practices:

  • Classify changes as additive, conditional, or breaking by behavior—not by JSON shape alone.
  • Publish a contract version and compatibility report for every affected tool.
  • Support the old contract during a visible migration window.
  • Roll back the implementation and advertised schema together.

MCP’s tool discovery model makes schemas part of the customer-facing product. Treat them like API contracts that agents depend on, because that is what they are. The founders who ship safely are not the ones who never change a schema; they are the ones who make each change observable, reversible, and understandable before an agent encounters it.

Sources