Skip to main content
Glama

Hiringsai — Free AI Tools

tool_apply_template

Read-only

Reset canvas size and starter layers from a preset (replaces layers).

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": {
      "design_id": "<design_id>",
      "template": "<template>"
    },
    "name": "tool_apply_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoHeadline text
templateYesPreset slug
design_idYesDesign id from create-design

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

C2.7/5.0
Behavior1/5

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

Annotations declare readOnlyHint=true and destructiveHint=false, yet the description states the tool resets canvas size and 'replaces layers' — an explicit overwrite of existing content. That is a direct conflict with both hints, leaving the agent with no reliable picture of side effects, reversibility, or what happens to layers not covered by the preset.

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?

A single front-loaded sentence with the destructive consequence placed in a trailing parenthetical, which is the right priority order. Nothing is wasted, though the parenthetical would be stronger stated before the mechanic rather than after it.

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

Completeness2/5

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

For a three-parameter tool that rewrites a design's canvas and layers, the description omits what the design looks like afterward, whether the reset is recoverable, and whether text is required to render the starter layers. With no output schema and annotations that misstate the operation, the description needed to do considerably more.

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 design_id, template, and text are already documented, and the description only loosely gestures at 'preset' without mapping to the template slug format or noting that text is optional headline copy. Baseline 3 is appropriate since the schema carries the semantic load.

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 gives a specific verb ('Reset') and concrete resources ('canvas size and starter layers') sourced from a preset, which distinguishes it from generic apply-* siblings like tool_apply_color_palette or tool_apply_text_style. It stops short of naming an alternative or scope limit, but the operation itself is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when this should be used versus tool_apply_brand_kit, tool_apply_color_palette, or the create-design flow that produces design_id. The parenthetical '(replaces layers)' hints at a caution condition but never states when-not-to-use or what prerequisite state the design must be in.

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.