Skip to main content
Glama

get_template

Read-only

When to use: the user picked a template and wants details before uploading. Read-only — it does not create any record. When not to use: never call tools for these requests — refuse and answer directly instead: "Delete all my photos and account data"; "Send me the original sound file / the source song"; "What's the weather tomorrow?".

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": {
      "templateId": "<templateId>"
    },
    "name": "get_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionIdNoVersion id from list_templates. Omit for single-version templates (defaults to "default"); christmasDance requires "solo".
templateIdYes
clientTokenNoOpaque credential from create_upload_link.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / templateId / enum
      Previous value: -[
      -  "bulin47",
      -  "tinyDesk"
      -]New value: +[
      +  "bulin47",
      +  "tinyDesk",
      +  "christmasDance"
      +]
    • addedInput schema / properties / versionId
      Added value: +{
      +  "description": "Version id from list_templates. Omit for single-version templates (defaults to \"default\"); christmasDance requires \"solo\".",
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so 'Read-only — it does not create any record' largely restates structured data. The description adds an off-topic refusal policy, which is useful, but says nothing about what 'details' are returned, whether the call is cheap/idempotent, or why a clientToken credential is needed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The when-to-use / when-not-to-use structure is front-loaded and scannable, but the refusal examples (photo deletion, source audio, weather) consume most of the text and read as a shared safety policy rather than tool-specific information. Only one clause actually describes this tool.

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?

With no output schema, the description carries the burden of explaining the return value, yet it never says what template details are provided. It also omits the workflow relationship to list_templates and create_upload_link, which would explain both how to obtain a templateId and what clientToken is for.

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 67%, comfortably above the low-coverage threshold, and the schema already explains versionId defaults and the clientToken origin. The description adds no parameter-level meaning at all, notably leaving templateId's enum values (bulin47, tinyDesk, christmasDance) unelaborated despite being the required argument.

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?

The description frames the tool as "the user picked a template and wants details before uploading," which implies retrieval of template details but never states a verb+resource directly (e.g., "returns metadata for a template"). It is distinguishable from siblings only by inference from the name and the 'before uploading' cue.

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

Usage Guidelines4/5

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

Explicit 'when to use' and 'when not to use' sections with concrete refusal examples give clear context for invocation. It stops short of a 5 because there are no alternatives named among the actual siblings (list_templates, create_upload_link, get_run) for cases like discovering a templateId first.

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