Skip to main content
Glama

Protocol.Save

protocol.save

Validate and persist the NEXT VERSION of a protocol document (confirm-gated: each call appends a version row; accidental calls clutter the version history). Edits create a new version — the assignment pins the version it runs.

Input Schema

NameRequiredDescriptionDefault
specYesWire-format protocol document (validate first to iterate).
confirmNoMUST be true to write.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / name
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Optional label for this save (echoed in this tool's\nresponse only — the backend forbids extra keys, so it is not\npersisted with the version)."
      -}
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare non-readonly, non-idempotent, non-destructive, open-world, so the safety surface is partially covered. The description adds genuinely new behavioral detail: every call appends a version row (why non-idempotent matters), the confirm gate is mandatory, and edits create a new version that the assignment then pins. Auth requirements are still unstated, keeping it short of a 5.

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?

Front-loaded with the core action, then two compact parentheticals that supply the confirm gate and versioning model with no filler. Slightly dense, but every clause 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?

With a 100% coverage schema, a mandatory confirm flag, and an output schema already present, the description only needs to supply the behavioral side effects, which it does (append-per-call, version creation, assignment pinning). Nothing critical for a correct invocation is missing, though permission/error expectations are left unaddressed.

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 carry their own descriptions ('MUST be true to write', wire-format spec), so the schema does the heavy lifting per the baseline rule. The description reinforces the confirm semantics and the version-append consequence of calling, but adds no syntax or format detail beyond the schema.

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?

States a specific verb pair (validate and persist) with a precise scope (the NEXT VERSION of a protocol document), which cleanly separates it from the validate-only sibling protocol.validate. An agent can tell it is the write path of the protocol lifecycle without opening any schema.

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?

The confirm-gating note ('accidental calls clutter the version history') implies that this is the committing write step, but the description never names an alternative or states when to prefer protocol.validate instead. Usage is inferred rather than spelled out, so it lands at minimum-viable.

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.