Skip to main content
Glama

Physical Capability Cloud

publish_protocol

Publish a draft protocol template, making it visible in the protocol library for others to discover and use.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesProtocol template ID to publish

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 and destructiveHint=false, so the safety profile is covered. The description usefully adds the state effect (draft becomes publicly discoverable), but says nothing about whether publishing is reversible, whether re-publishing is idempotent, or what permissions/validation are required.

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?

A single front-loaded sentence that names the action first and the consequence second, with no filler or redundancy.

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?

For a one-parameter state-transition tool with annotations present and no output schema, the description covers what is needed to call it. It is thin on the surrounding workflow, however: no mention of draft/validation prerequisites, error conditions, or reversibility, which matters for a publish action.

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% for the single 'id' parameter, so the schema carries the meaning. The description adds no format, sourcing, or lookup detail beyond what the schema's 'Protocol template ID to publish' already states, making the baseline 3 appropriate.

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?

States a specific verb and resource ('publish a draft protocol template') and adds the observable outcome (visible in the protocol library for discovery). It is clearly distinct from get_protocol/list_protocols/create_protocol, though it never names an alternative sibling, so it falls short of the top mark.

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 only implied by the word 'draft' — the agent can infer this applies to an unpublished template, but there is no explicit when-to-use guidance versus update_protocol or validate_protocol, and no stated precondition (e.g. must be validated first, must currently be in draft state).

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.