Skip to main content
Glama

Publish schema

publish_schema

Publish a schema version, making it the version a datafile resolves when it binds to this schema without requesting the latest.

Input Schema

NameRequiredDescriptionDefault
versionYesthe version number to make the published version datafiles resolve by default
schema_idYesthe schema id to publish

Output Schema

NameRequiredDescriptionDefault
slugYes
versionNo
schema_idYes
descriptionYes
json_schemaNo
display_nameYes
latest_versionYes
last_published_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false and openWorldHint=true, so the mutation profile is covered. The description adds the key semantic effect (this changes which version is resolved by default), but says nothing about what happens to the previously published version, whether existing datafile bindings are affected retroactively, or whether the change is reversible.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler; the verb and resource lead and the consequence follows. The trailing clause is slightly convoluted ('the version a datafile resolves when it binds to this schema without requesting the latest') but it is not wasted space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With only two required parameters, full schema descriptions, an output schema, and annotations covering the safety profile, the description carries what remains: the meaning of 'publishing.' The only real gap is side effects on existing datafiles and the prior published version, which for a low-complexity tool is a modest omission.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and both parameters (schema_id, version) are documented in the schema, including that version is the one datafiles will resolve by default. The description only restates that concept at a high level and adds no formatting or constraint detail beyond the schema. Baseline 3 applies when the schema carries the parameter burden.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (publish) and resource (schema version) and states the resulting effect: the version becomes the default that datafiles resolve to when they don't request latest. This distinguishes it from the read side (get_schema) and version creation (create_schema_version). It does not explicitly contrast with the many sibling publish_* tools, but the resource scope is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: the phrase about datafiles resolving 'without requesting the latest' tells the agent the scenario this tool serves, but there is no explicit when-to-use/when-not guidance and no reference to alternatives such as create_schema_version or get_schema. The agent must infer the workflow (create a version first, then publish it).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources