Skip to main content
Glama

Yardstick ATS

Publish the current draft as a new version. Admins only.

yardstick_offers_library_documents_publish
Idempotent

Publish the current draft as a new version. Admins only.

Input Schema

NameRequiredDescriptionDefault
request_idNo
template_idYes
idempotency_keyYes
expected_revisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.3/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true, destructiveHint=false, readOnlyHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuine new information in 'Admins only' (an authorization requirement annotations cannot express) plus the fact that publishing yields a new version, but it omits conflict/failure behavior and whether the draft is retained or consumed.

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 action and the permission constraint front-loaded; nothing is padded or redundant. Brevity here is a style virtue even though the content is thin.

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

Completeness2/5

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

For a versioning mutation with four undocumented parameters, no output schema, and an expected_revision concurrency guard, the definition leaves too much unstated. An agent cannot tell what happens on a revision mismatch, what idempotency_key must contain, or whether publishing invalidates the draft.

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

Parameters1/5

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

Schema description coverage is 0% across four parameters, so the description carries the full explanatory burden and supplies nothing. template_id, idempotency_key, request_id and especially expected_revision (optimistic concurrency) are entirely undefined, and the phrase 'the current draft' does not explain how a document is identified.

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

Purpose2/5

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

Tautological: description restates name/title.

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

Usage Guidelines2/5

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

'Admins only' is the sole usage condition offered. There is no guidance on when to publish versus update_draft, create, or copy, and no note about what prerequisite state the draft must be in or whether expected_revision must be supplied.

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.