Skip to main content
Glama

add_spintax_to_text_tool

Read-only

Rewrites a piece of email/message text with spintax {variation|variation} alternatives to improve deliverability. Returns the spintax-enriched text without saving it; if the AI output is unusable or would alter merge fields, placeholders or existing spintax, the original text is returned unchanged.

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": {
      "bodyText": "<bodyText>"
    },
    "name": "add_spintax_to_text_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyTextYesThe email/message text to enrich with spintax

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the readOnlyHint/destructiveHint=false annotations, the description discloses a real behavioral contract: the result is not persisted, and on failure (unusable AI output, or risk to merge fields, placeholders, or pre-existing spintax) the original text is returned unchanged. That no-op fallback is exactly the kind of behavior an agent must know to interpret a seemingly successful response; what's missing is any note on latency/cost or determinism of the rewrite.

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

Conciseness5/5

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

Two sentences, zero filler, with the core action front-loaded and the failure/fallback contract immediately after. The {variation|variation} literal is a compact way to convey syntax without a separate paragraph.

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

Completeness4/5

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

For a one-parameter, non-destructive transform with no output schema, the description covers the essentials: what it does, that it does not persist, and what happens on refusal. Coverage would be complete with a brief note on output shape (e.g. how many alternatives are produced per phrase) since no output schema exists to convey it.

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 coverage is 100% for the single parameter, so the schema already explains bodyText as "the email/message text to enrich with spintax." The description restates that same meaning without adding constraints such as size limits, expected input already containing spintax, or whether merge fields are permitted in the input.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb phrase ("Rewrites a piece of email/message text with spintax") plus a stated goal ("to improve deliverability") and an inline {variation|variation} example make the operation unambiguous. No sibling tool in the list performs text rewriting, and the definition makes clear this is a text-transform, not a list/campaign mutation.

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?

Usage is implied rather than stated: an agent can infer you call this when you want spintax variants in message copy, and "without saving it" signals it is a pure transform. But there is no explicit when-to-use guidance, no named alternative, and no stated precondition (e.g. how long the text may be or whether it must be plain text).

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.