Skip to main content
Glama

Aprovar e enviar mensagem

approve_inbox_message
Destructive

Approves and sends the step waiting for approval in one Inbox conversation (campaigns set to approve before sending). This sends a real message to the prospect. Runs only with confirmed: true. stepIndex comes from the conversation's pendingApproval.

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": {
      "prospectId": "<prospectId>",
      "channel": "<channel>",
      "stepIndex": "<stepIndex>",
      "confirmed": "<confirmed>"
    },
    "name": "approve_inbox_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelYes
confirmedYesThe user explicitly confirmed this send.
stepIndexYes
prospectIdYesThe conversation's prospectId.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / stepIndex / maximum
      Previous value: -11New value: +29
  2. Changed1 schema field changed
    • changedInput schema / properties / prospectId / description
      Previous value: -"prospectId from list_inbox_conversations."New value: +"The conversation's prospectId."
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and idempotentHint=false, so the description is not carrying the full safety burden. It still adds real value by stressing that a real message reaches the prospect and that execution is gated on an explicit confirmation flag, which reinforces irreversibility beyond the annotation.

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, front-loaded with what the tool does before the safety warning and the parameter hint. No sentence is redundant.

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 four-parameter destructive mutation with no output schema, the description covers purpose, preconditions, the confirmation gate, and the source of the trickiest parameter. It stops short of saying what a successful approval returns or how partial failures surface, a minor gap given no output schema exists.

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 coverage is 50% (only confirmed and prospectId are documented). The description compensates by explaining where stepIndex comes from (the conversation's pendingApproval), which is meaning the schema does not provide; channel is left to its enum values.

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 pair (approves and sends), the exact resource (the step waiting for approval in one Inbox conversation), and the campaign mode that makes it applicable. This clearly separates it from read-oriented siblings like get_inbox_conversation or list_inbox_conversations.

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?

Gives clear preconditions: the campaign must be set to approve-before-sending, and the call only runs with confirmed: true. It does not name an alternative tool or a when-not-to-use case, but the gating condition makes the applicable context unambiguous.

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.