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

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

Output Schema

TableJSON 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

A4/5.0
Behavior3/5

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

Annotations already indicate mutation (readOnlyHint=false) and non-destructive behavior. The description adds the effect on datafile resolution, which is useful. It doesn't disclose additional side effects like overwriting previous published versions, but does not contradict annotations.

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

Conciseness5/5

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

One sentence, front-loaded with the action, and directly explains the purpose without fluff. Every word earns its place.

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?

The tool is simple (2 required params), has an output schema, and annotations cover safety. The description explains purpose and effect. It doesn't mention prerequisites like schema version existence, but that is likely implied and not critical for selection.

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 coverage is 100% and both parameters have descriptions. The description adds no extra semantics beyond what the schema already provides, so baseline 3 applies.

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

Purpose5/5

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

The description states a specific verb and resource ('Publish a schema version') and explains the concrete effect on datafile resolution, which clearly distinguishes it from other publish_* sibling tools by resource type.

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

Usage Guidelines4/5

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

The description implies when to use it: to set the default version for schema binding. It doesn't explicitly state alternatives or exclusions, but the sibling list makes the resource focus obvious. Lacks explicit 'when not to use' guidance, but adequate for the context.

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