Skip to main content
Glama

AppScreenDesign 3D Screenshot Studio

refresh_templates

Idempotent

Re-pin a project’s template snapshots to the latest published template definitions.

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": {
      "projectId": "<projectId>"
    },
    "name": "refresh_templates"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdYes
expectedRevisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare the mutation profile: readOnlyHint=false, destructiveHint=false, idempotentHint=true. The description's "re-pin ... snapshots" is consistent with that idempotent, non-destructive framing and adds the useful notion that snapshots are moved to a published target. It does not say whether project-level template customizations or input overrides are preserved or discarded, which is the key behavioral risk for a re-pin operation.

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?

A single front-loaded sentence with no filler. It is efficient, though the coined term "re-pin" carries meaning an agent must already know, so a brief qualifier would have cost little.

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 two-parameter mutation with annotations present and no output schema, the safety picture is largely covered, but two gaps remain material: the semantics of expectedRevision and whether locally modified template inputs survive the re-pin. An agent could invoke this correctly on the happy path but could not reason about conflicts or data loss.

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% for two parameters, so the description must compensate and it does not – neither projectId nor expectedRevision is mentioned. In particular, expectedRevision (integer, minimum 0) is opaque; an agent cannot tell from the definition that it is an optimistic-concurrency/version guard or what to supply when it is omitted.

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?

"Re-pin a project's template snapshots to the latest published template definitions" names a specific verb (re-pin), a specific resource (template snapshots), and the target state (latest published definitions). This distinguishes it from compare_templates and apply_template, though it does not explicitly name those siblings.

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 use case is implied clearly by "to the latest published template definitions" – you run this when you want a project to pick up newer template versions. However, there is no explicit when-to-use/when-not statement, no mention of prerequisites, and no routing to alternatives like compare_templates (to inspect drift first) or apply_template.

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