Skip to main content
Glama

submit_template

Create or update an SMS template. Every new version is reviewed before use, usually by AI in seconds. Prefer typed fields, checked at every send: {nome}/{name}, {attivita}/{business}, {indirizzo}/{address}, {ordine}/{order}, {codice}/{code}, {data}/{date} DD/MM/YYYY, {ora}/{time} HH:MM, {importo}/{amount}, {link}/{url} (only URLs on the verified site, see verify_site). Any other field name is free text and is reviewed (usually in seconds, sometimes by a person). No phone numbers: write "reply to this SMS" (in the message language), replies come back to you. status pending: being reviewed, check template_requests again after a few seconds; rejected: review_reason says what to change.

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": {
      "name": "<name>",
      "body": "<body>",
      "variables": "<variables>"
    },
    "name": "submit_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
nameYes
variablesYes
expected_versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only say this is a non-read-only, non-destructive, non-idempotent write. The description adds substantial hidden behavior: every new version is reviewed before use, reviews are usually AI-driven and take seconds but may go to a human, statuses are pending/rejected with review_reason, and phone numbers are forbidden in template content. That is well beyond what the annotations convey.

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 purpose and review-workflow caveat are front-loaded, and the status handling is placed last where it belongs. The middle section is a dense run-on of field mappings that is hard to scan, though nearly every token carries needed information.

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 4-parameter mutation tool with no output schema, the description covers the review lifecycle, status meanings, and content constraints well, which is what an agent needs to call it safely. The gaps are the unexplained expected_version parameter and the absence of any statement about what a successful response contains.

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?

Schema description coverage is 0%, so the description carries the load. It richly documents the variables map (permitted typed field names, DD/MM/YYYY and HH:MM formats, free-text fallback, review implications) and constrains body content, but never mentions the optional expected_version parameter or what the name parameter represents.

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?

The opening sentence gives a specific verb pair and resource: 'Create or update an SMS template.' It is unmistakably distinct from siblings like template_requests (status polling) and verify_site (URL verification), both of which it explicitly routes to.

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?

The description gives concrete operational routing: check template_requests after a few seconds when status is pending, consult verify_site for URL fields, and read review_reason when rejected. It does not explain when an agent should create versus update (e.g. the role of expected_version), so it stops short of full when/when-not coverage.

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.