Skip to main content
Glama

template_open

Creates a page from a template using supplied form values, opening an instance and copying built-in templates locally when needed.

Instructions

Create a page from a template with the given form values. The user usually does this from the sidebar. Use only when they asked you to open an instance. Opening a built-in opens its local copy, creating that copy first if needed.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "template_open"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoTemplate id, e.g. tpl_ab12cd34 or builtin:todo-list.
keyNoTemplate key.
valuesNoForm values matching the template fields.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose a meaningful side effect: opening a built-in first creates a local copy, which tells the agent this operation mutates state. It does not cover permissions, idempotency, or what happens when values are incomplete, and never says what is returned.

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 short sentences, front-loaded with the action, then the usage constraint, then the built-in caveat. Nothing is padded, though the sidebar sentence and the 'open an instance' sentence overlap somewhat.

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 creation tool with a nested free-form values object, no annotations, and no output schema, the description covers the action and the built-in quirk but omits the return value (page id/link) and any failure behavior. Adequate but with clear gaps an agent would want filled.

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 id, key, and values are already documented in the schema, including the example format. The description only adds that values are 'form values' for the template's fields, which is largely a restatement. Baseline 3 applies.

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?

The description opens with a specific verb and resource: 'Create a page from a template with the given form values.' That is enough to separate it from template_upsert (which manages templates) and page_open (which opens existing pages), and the note about built-ins adds a distinguishing behavior. It stops short of naming a sibling outright, so it is clear but not maximally differentiated.

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?

'Use only when they asked you to open an instance' is an explicit condition, reinforced by 'The user usually does this from the sidebar,' which tells the agent not to do this proactively. There is clear when-to guidance but no named alternative for the cases where the condition fails.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.