Skip to main content
Glama

Use a template

use_template

Set up a NEW session from one of the user's templates, e.g. 'set up my Level 10 for next Tuesday'. Give the template's name (or id); without one, or when nothing matches, it lists the user's templates. Optionally a title and a date/time for the new session. Free: no AI runs, the template is copied with its fixed activities. Counts as a session for the free plan's limit.

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": "use_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoWhen the new session takes place, as ISO 8601 date-time with offset if known (e.g. 2026-12-02T09:00:00+01:00). Work out relative dates ('next Tuesday') yourself.
nameNoTitle for the new session. Default: the template's name.
templateNoThe template's name (or part of it) or its id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only cover the generic safety profile (readOnlyHint false, destructiveHint false, non-idempotent), so the description adds real value: it discloses cost ('Free: no AI runs'), that the template is copied with its fixed activities, and that the call consumes a free-plan session slot. The remaining gap is what the call returns (e.g. a new session id) and whether the copied activities can later be edited.

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?

Front-loads the action and its example, then moves through inputs, fallback, and cost in five short clauses with no filler. Slightly dense with parenthetical clauses, but every sentence carries information an agent needs before calling.

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?

For a three-parameter mutation with full schema coverage and no output schema, this covers the practical concerns: what it creates, what input is optional, what happens on a miss, and the quota cost. Only the shape of the result and post-creation editability are left unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds behavior the schema cannot express: omitting or mismatching `template` triggers a template listing rather than an error. That is meaningful semantics for an optional parameter. The rest ('optionally a title and a date/time') largely restates what the schema already documents.

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 specific verb and resource ('Set up a NEW session from one of the user's templates') with a concrete example utterance. The emphasis on NEW and the phrase 'from one of the user's templates' cleanly separates it from save_template (the inverse direction) and from design_session-style generation.

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?

Gives clear invocation guidance: supply the template name or id, and optionally a title and date/time. It also states the fallback condition ('without one, or when nothing matches, it lists the user's templates'), which tells the agent what to expect when input is vague. It does not name a sibling to use instead when the user has no template, 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