Skip to main content
Glama

Apply Template

apply_template

Seed categories, account groups, and recurring-slot suggestions from a named onboarding template. Requires confirmation: true to execute.

Input Schema

NameRequiredDescriptionDefault
templateIdYesTemplate identifier — matches a JSON file in backend/src/onboarding/templates/
confirmationYesMust be true to execute the mutation
idempotencyKeyNoOptional idempotency key — calls with the same key (per-user, within 24h) return the cached response without re-executing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=false, so the safety profile is partly covered. The description adds real value by disclosing the hard confirmation=true gate, but says nothing about whether existing categories are merged or overwritten, or what happens on template mismatch, which matters for a seeding mutation.

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?

Two short sentences with no filler, and the effect is front-loaded before the confirmation requirement. It could be marginally tighter, but every sentence carries information.

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 mutation with no output schema, the description covers what is created and the confirmation gate, but leaves the return shape, merge-vs-overwrite behavior, and failure modes unstated. Adequate but with clear gaps.

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 description coverage is 100%, so templateId, confirmation, and idempotencyKey are fully documented in structured fields; baseline is 3. The description only restates the confirmation gate and 'named template' framing, adding no syntax or format detail beyond the schema.

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 states a specific verb (seed) and the concrete resources it produces (categories, account groups, recurring-slot suggestions) plus the source (a named onboarding template). An agent can tell what it does, though it does not explicitly distinguish itself from close siblings like commit_onboarding or ingest_onboarding_files.

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?

It implies usage in the onboarding flow and states the confirmation prerequisite, but gives no explicit when-to-use guidance versus commit_onboarding or start_onboarding, and no exclusions or ordering advice.

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