Skip to main content
Glama

Save Template

save_template
DestructiveIdempotent

Save referenced template into the database.

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": {
      "TemplateToken": "<TemplateToken>"
    },
    "name": "save_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
TemplateTokenYesTemplate token. Create with 'create_template_draft' or 'get_template' tools. Token is invalidated on successful save.

Output Schema

NameRequiredDescriptionDefault
ResultYesResult of the operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is covered by structured data. The description adds only that the result lands "into the database"; it does not explain what the destructive aspect is or that the token is burned on success — that critical behavior appears only in the schema. No contradiction with annotations, so a baseline 3.

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?

One short, front-loaded sentence with no filler. It is efficient, though the brevity comes at the cost of the missing specifics noted elsewhere — the structure is fine, the content is thin.

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 and annotations cover safety, so the description needn't explain return values. However, for a destructive, non-idempotent-looking save operation on a one-time token, the description omits what "save" actually does to the template (publish? finalize?) and what the token invalidation implies, leaving the agent to rely entirely on surrounding fields.

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% and the single parameter is richly documented (format, pattern, provenance, and one-time invalidation). The description adds no meaning beyond the schema, so the baseline of 3 applies.

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

Purpose3/5

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

States a verb+resource ("Save ... template") but the qualifier "referenced" is unclear, and the sentence never distinguishes this tool from siblings such as create_template_draft, edit_template, or get_template, which all touch the same template resource. The agent can infer it persists a template, but not what state it moves the template into.

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?

There is no when-to-use and no when-not-to-use guidance, and no sibling is named as an alternative. The only routing hint (tokens come from create_template_draft or get_template) lives in the schema, not the description.

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.