Skip to main content
Glama

create-custom-template

Create a custom template from a YAML definition of its title, sections, and fields. The definition becomes the first version. Requires user_email or user_id to record the creator. Optionally pass custom_term_id to attach custom terms from the organization.

Input Schema

NameRequiredDescriptionDefault
bodyYesProvide user_email or user_id to record the creator; one of the two is required.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / body / properties / user_email / pattern
      Previous value: -"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"New value: +"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, so the safety profile is covered. The description adds real behavioral facts beyond them: the definition is persisted as the template's first version, and attached custom terms propagate into agreements created from the template. It stops short of saying whether the template is immediately usable or how duplicate names are handled.

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?

Three short sentences, front-loaded with the action and input format, followed by the creator requirement and the optional term attachment. Each sentence carries information, though the custom_term_id sentence largely duplicates the schema text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described, and annotations cover the mutation profile. For a tool with one nested body parameter, the description supplies the essential extras: the YAML definition becomes version one, a creator identity is required, and custom terms can be attached. Nothing critical for a correct call is missing.

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 the schema already explains name, definition, user_id, user_email and custom_term_id in detail. The description restates the creator requirement and the custom_term_id effect, both of which are already in the property descriptions, so it adds little semantic value beyond the schema. 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?

States a specific verb and resource ('Create a custom template') and adds the concrete input shape ('from a YAML definition of its title, sections, and fields'), which an agent can distinguish from create-template and create-custom-template-version. It never explicitly names those siblings, so differentiation rests on the name plus the word 'custom' rather than on stated contrast.

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?

The description gives prerequisites ('Requires user_email or user_id to record the creator') and an optional extension ('Optionally pass custom_term_id'), which is useful call-shaping context. It does not say when to pick this over create-template or create-custom-template-version, nor what to do if a template with the same name already exists, so the when-to-use routing is only implied.

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.