Skip to main content
Glama

send_template_message

DestructiveIdempotent

Queue an approved template SMS after human approval. Real projects charge credit. Use a stable idempotency key.

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": {
      "to": "<to>",
      "template": "<template>",
      "variables": "<variables>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "send_template_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
send_atNo
templateYes
variablesYes
appointment_atNo
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint, idempotentHint, and openWorldHint, so the safety profile is covered. The description adds genuinely new behavior: the action only queues (not immediate delivery), requires prior human approval, and consumes credit on real projects. It omits what happens on a duplicate idempotency key replay and whether queued messages can be canceled.

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?

Three short sentences with the core action front-loaded and no filler. 'Real projects charge credit' is slightly hedged in wording but still earns its place as a cost warning.

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, open-world, six-parameter tool with a nested object and no output schema, the description leaves most of the surface unexplained — notably scheduling semantics (send_at vs appointment_at) and how variables map into the template. It is adequate as a one-line summary but not as a calling guide.

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 description coverage is 0% across six parameters including a nested string map, so the description carries the full burden — yet it explains only idempotency_key. The 'to' recipient, 'template' identifier, 'variables' map, and the two datetime fields (send_at, appointment_at), whose names alone become a real ambiguity, go entirely unaddressed.

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?

States a specific verb and resource ('Queue an approved template SMS') and constrains it to approved templates sent after human approval, which separates it from raw send/verification siblings. It stops short of naming an alternative, but the operation is unmistakable.

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?

Gives one real precondition ('after human approval') and one invocation habit ('Use a stable idempotency key'), which is more than most. It never says when to prefer this over send_verification, send_owner_alert, or schedule_reminders, and offers no exclusions.

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.