Skip to main content
Glama

Open a template with the user's details on it

open_template
Read-onlyIdempotent

Make the link that opens one template from show_templates in the Designprint editor, with the user's own words in place of the template's sample text. Pass the template_id and the replacements. The user edits anything they like there and orders prints from the same page; nothing is charged by this call. If the result lists texts that were not placed, correct them and call it again.

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": {
      "template_id": "<template_id>",
      "replacements": "<replacements>"
    },
    "name": "open_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelNoThe assistant making the call, for example claude or chatgpt.
template_idYesThe template_id of the template the user picked, from show_templates.
replacementsYesWhich of the template's texts to replace with the user's own words. Texts left out stay as the template has them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the description only needed to add context — and it does: no charge occurs, the user continues editing and ordering on the returned page, and the result surfaces texts that were not placed. It does not address link lifetime, permission requirements, or repeat-call behavior, leaving some behavioral surface undisclosed.

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?

Four sentences, front-loaded with the core action, followed by inputs, side-effect disclosure, and the retry rule — a sensible order. The 'user edits anything they like there and orders prints from the same page' clause is slightly loose but carries real meaning about what happens after the call.

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 no output schema, the description correctly describes what comes back (a link plus a list of unplaced texts) and explains the corrective loop. Combined with full schema coverage and rich annotations, an agent has enough to call it correctly; only link persistence and auth expectations are 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%, so template_id, replacements, find/text and channel are already documented in the schema. The description restates 'Pass the template_id and the replacements' and the skip semantics for omitted texts, adding essentially no syntax or matching detail beyond what the schema provides. Baseline 3 is appropriate.

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 concrete verb and outcome: it builds a link that opens one template from show_templates in the Designprint editor with the user's text substituted. It ties the tool to a named sibling as the source of template_id, so an agent can distinguish it from show_templates or the print tools without opening a schema.

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?

It establishes the prerequisite (a template picked via show_templates), clarifies that this is a preview/edit step rather than an ordering step ('nothing is charged by this call'), and gives a concrete retry loop when texts go unplaced. It does not explicitly name an alternative such as print_design or say when not to call it, which keeps it short of a 5.

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