Skip to main content
Glama

Publish

publish
Idempotent

Prepare an immutable release package. Production deployment is not connected.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "command": "<command>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "publish"
  }
}

Input Schema

NameRequiredDescriptionDefault
commandYes
idempotencyKeyYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare non-destructive, idempotent, non-open-world mutation semantics, so the bar is lower. The description adds two real behavioral facts beyond them — the package is immutable and this does not reach production — but it omits the effect on the draft (locking, revision bumping) and any failure modes such as a stale revision.

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?

Two short sentences with the core purpose front-loaded and no filler. The second sentence is compressed to the point of slight ambiguity about what 'not connected' means in practice, but nothing is wasted.

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

Completeness3/5

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

An output schema exists, so return values needn't be explained, and annotations cover the safety profile. Still, for a nested-command mutation the description should at least convey that the command object is fixed to prepare_release and how revision/idempotencyKey govern acceptance; those omissions matter at this complexity level.

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

Parameters2/5

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

Schema description coverage is 0% and the description compensates for nothing: it never mentions draftId, revision, or idempotencyKey. Critically, the meaning of 'revision' (presumably the current draft revision, with conflict behavior on mismatch) and the required idempotency key are left entirely to inference from field names.

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 gives a specific verb-plus-resource: "Prepare an immutable release package," which tells an agent this is a release-staging operation rather than a deployment. It does not differentiate from the sibling 'build' or clarify the relationship between the tool name 'publish' and the schema's action const 'prepare_release', leaving some ambiguity about scope.

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?

"Production deployment is not connected" implicitly rules out using this tool to deploy, which is a useful usage boundary. However, no alternative is named (e.g., 'build' or 'run'), and there is no guidance on prerequisites such as the draft needing to exist or the revision needing to be current.

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