Skip to main content
Glama

Yuppsy

template_builder_save_item

Destructive

Add or replace an editable template item's text, all the yuppsy template code will be rendered and ready to use; virtual items are processed by the template resolver.

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": {
      "headId": "<headId>",
      "filePath": "<filePath>",
      "data": "<data>"
    },
    "name": "template_builder_save_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYesObject whose data property contains the text to save.
headIdYesTemplate head ID.
filePathYesItem path relative to the template.

Output Schema

NameRequiredDescriptionDefault
dataNoOperation-specific data, including any result returned on failure.
errorNo
statusNoManager outcome when returned by the operation.
successNo
statusCodeNo
errorDetailsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already flag readOnlyHint=false and destructiveHint=true; the description goes beyond them by stating the operation replaces existing item text and that template code 'will be rendered and ready to use', implying a rendering side effect. It also notes virtual items are handled by the template resolver, which is non-obvious behavior an agent could not infer from the schema or annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The action is front-loaded in a single sentence, which is good structure, but the trailing semicolon clause about rendering and the template resolver is dense jargon that partially obscures the message. Nothing is redundant, but the phrasing could be tighter and clearer.

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?

An output schema exists, so return values need not be described, and the destructive replace behavior plus rendering effect are covered. However, for a destructive upsert with a nested data object, the description omits prerequisites such as whether the filePath must already exist and what 'editable' actually restricts.

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%, with all three parameters (including the nested data.data text field) documented in the schema itself. The description only refers generically to 'an editable template item's text' and adds no path, ID, or nested-object semantics beyond what the schema already provides, so the 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 gives a specific verb pair and resource: 'Add or replace an editable template item's text', which conveys upsert semantics rather than a plain write. It is distinguishable from siblings like template_builder_delete_item or template_builder_get_item_content, though the trailing clause about 'yuppsy template code' is product jargon that adds little to the purpose statement.

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?

There is no explicit guidance on when to choose this over siblings such as website_builder_save_page_content, template_builder_upload_file, or create_public_version, and no when-not conditions. The only implicit constraint is 'editable template item', which hints at eligibility but is never defined or contrasted with alternatives.

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