Skip to main content
Glama

bot_inbound_message

Destructive

ANRUFBOT/BOT-SYSTEM: eine eingegangene SMS/WhatsApp eines Anrufers an CallPilotAI weiterreichen. Landet im Lead dieser Nummer (sonst neuer Lead). Doppelte message_id wird nur einmal abgelegt.

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": {
      "from_number": "<from_number>",
      "channel": "<channel>",
      "body": "<body>",
      "message_id": "<message_id>"
    },
    "name": "bot_inbound_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesText der eingegangenen Nachricht
nameNoProfilname, falls bekannt
channelYesKanal der eingegangenen Nachricht: SMS oder WhatsApp
message_idYesKennung der Nachricht im Bot/Twilio (Pflicht, für Doppelte)
from_numberYesAbsender (E.164)
received_atNoZeitpunkt: received (ISO 8601)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / body / description
      Added value: +"Text der eingegangenen Nachricht"
    • addedInput schema / properties / channel / description
      Added value: +"Kanal der eingegangenen Nachricht: SMS oder WhatsApp"
    • addedInput schema / properties / received_at / description
      Added value: +"Zeitpunkt: received (ISO 8601)"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Adds real behavior beyond the annotations: the message is attached to the lead matching the number, a new lead is created if none exists, and duplicate message_id values are stored only once. However, the dedup statement sits in tension with the declared idempotentHint=false, and the destructiveHint=true consequence (which existing lead data may be overwritten) is never disclosed.

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?

Three short sentences, no filler: system context first, then routing behavior, then the dedup rule. Each sentence carries distinct information and the most decision-relevant facts are front-loaded.

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 six-parameter write tool with full schema coverage and annotations, the description covers the essential question of where the message ends up and how duplicates are handled. It omits return behavior and any permission or failure conditions, but no output schema exists and those gaps are modest.

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 description coverage is 100%, so every parameter including the channel enum and the E.164 from_number is already documented. The description only reinforces that message_id drives deduplication and that the message targets a lead by phone number; it adds no syntax or format detail beyond the schema.

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: forwarding an *incoming* SMS/WhatsApp message from a caller to CallPilotAI, with the 'eingegangene' qualifier implicitly separating it from the outbound sibling bot_send_message. The destination ('landet im Lead dieser Nummer') is concrete, though no sibling is named explicitly.

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?

The 'ANRUFBOT/BOT-SYSTEM' prefix implies the context (bot ingestion pipeline) but gives no explicit when-to-use / when-not-to-use rule and names no alternative tool. An agent can infer this is the inbound counterpart to bot_send_message, but must do the inferring itself.

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.