Skip to main content
Glama

Save typed text

edit-text
Destructive

Saves text the user typed over in the WebTwizz card preview. Swaps it in the code when that is safe, otherwise WebTwizz makes the change. Used by the card.

Input Schema

NameRequiredDescriptionDefault
pathNoThe page the preview is on, like /menu
afterYesThe text the user typed
beforeYesThe text as it was
elementNo
site_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is partly covered. The description adds useful conditional behavior—swapping text into code when safe, otherwise WebTwizz makes the change—but does not explain what may be destroyed or what permissions are required.

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?

The description is brief and front-loaded, with the core action stated first. The final sentence 'Used by the card' is vague but not sufficiently wasteful to undermine the overall concision.

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 destructive mutation tool with five parameters, a nested object, and no output schema, the description is too thin. It does not cover side effects, safety conditions, return behavior, or the meaning of site_id and element, leaving important gaps for correct invocation.

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

Parameters2/5

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

Schema coverage is moderate at 60%, with descriptions for path, after, and before but not for site_id or the nested element object. The tool description provides no additional parameter guidance, leaving required parameters like site_id and element undocumented beyond their names.

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 and resource: saving text typed by the user in the WebTwizz card preview. It is reasonably clear what the tool does, though it does not explicitly distinguish itself from the sibling edit-element tool.

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?

The only usage context is 'Used by the card,' which does not explain when an agent should call this tool instead of alternatives like edit-element. No exclusions or prerequisites are provided.

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