Skip to main content
Glama

Edit SMS template

spur_update_sms_template
Idempotent

Edit one of the user's SMS templates and show the updated preview. Pass full text / fallback_body, or replacements (exact find → replace in "text" or "fallback"). Pass fallback_body="" to remove the fallback.

SMS guidance: plain text, ideally one segment (160 GSM characters, or 70 if it uses emoji or other non-GSM characters; longer messages are billed per segment). Identify yourself, keep it conversational, and include opt-out wording ("Reply STOP to opt out") on first-touch messages. Links in texts from unverified numbers can be blocked, so give link-free fallback_body text when the body has a URL. Use merge fields like {{owner_first_name}}, {{property_address}}, {{your_name}} (see spur://merge-variables).

Input Schema

NameRequiredDescriptionDefault
nameNoNew template name
textNoFull replacement SMS body
is_defaultNotrue = make this the user's default template for its channel
descriptionNoInternal note about the template; never sent to owners
template_idYesEmail or SMS template id (UUID from a Spur list/search tool)
replacementsNoSmall edits applied in order instead of resending the full content
fallback_bodyNoLink-free text sent instead when links are blocked; "" removes it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive; the description adds real context on top: the call returns an updated preview, an empty fallback_body is a deletion, and links from unverified numbers may be blocked. Billing-by-segment and merge-field behavior round out behavior beyond the annotation set.

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?

Purpose and the replacement-mode rule are correctly front-loaded, but the trailing SMS guidance paragraph mixes tool-relevant facts (link-free fallback, merge-field reference) with generic copywriting advice ('identify yourself, keep it conversational') that does not help an agent select or invoke the tool.

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 7-parameter mutation with full schema coverage and annotations, the description covers invocation modes, the destructive edge case, and the response behavior, so an agent can call it correctly. Only minor gaps remain, such as whether replacements fail atomically when a find string is absent.

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

Parameters4/5

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

With 100% schema coverage the baseline is 3, but the description adds meaning beyond the schema by framing text/fallback_body as a mutually exclusive alternative to replacements and by defining the one notable sentinel value (""). It does not explain name, is_default, or description, though those are self-documenting in the schema.

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?

States a specific verb+resource (edit an SMS template) and adds a visible outcome (show the updated preview), which distinguishes it from the sibling spur_update_email_template and spur_update_letter_template. There is no ambiguity about what gets mutated.

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

Usage Guidelines4/5

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

Explicitly lays out the two invocation modes — full replacement of text/fallback_body versus targeted 'replacements' — and calls out the special case of passing fallback_body="" to delete the fallback. It stops short of naming when to prefer this over sibling tools, but the mode-selection guidance is genuinely actionable.

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