Skip to main content
Glama

messages_approve

Moves status from NEW / REVIEW_REQUIRED → APPROVED. The message enters the send queue and will be dispatched via the campaign's email_configs, respecting per-mailbox daily limits. Bulk reviewing a campaign's drafts is a common agent workflow: messages_list?campaign_sqid=X&status=10 → loop + approve.

Method: POST /api/v1/workspaces/{workspace_sqid}/messages/{sqid}/approve/

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": {
      "sqid": "<sqid>",
      "body": "<body>",
      "subject": "<subject>"
    },
    "name": "messages_approve"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
sqidYes
channelNo
subjectYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose meaningful side effects: the message moves into the send queue and is dispatched via the campaign's email_configs subject to per-mailbox daily limits. It stops short of covering reversibility (messages_unapprove exists), permission requirements, or failure behavior for messages not in an approvable state.

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?

Front-loaded with the state transition, followed by consequences, a workflow tip, and the HTTP method. Each element is compact and earns its place, though the campaign_sqid/status example is somewhat off-topic for a tool that takes only sqid, body, subject, and channel.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations, no output schema, and zero schema description coverage, the description adequately covers what changes in the system but leaves the entire parameter contract and error/permission surface unexplained. The presence of three required parameters including free-text body/subject makes the gap material.

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 4 parameters, and the description explains none of them — notably not why 'body' and 'subject' are required for an approve action, which is non-obvious and could mislead an agent into thinking approval requires rewriting content. The only query syntax shown (campaign_sqid, status) belongs to messages_list, not this tool.

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?

The description states a precise state transition ('NEW / REVIEW_REQUIRED → APPROVED') on a specific resource, plus the downstream effect of entering the send queue. It does not, however, distinguish itself from close siblings like messages_bulk_approve or campaigns_approve_messages, so an agent must infer whether this is the single-item or bulk variant.

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?

It gives a concrete when-to-use scenario with a working example call ('messages_list?campaign_sqid=X&status=10 → loop + approve'), which clearly frames the loop-per-message pattern. No explicit exclusion or named alternative is offered, so the agent gets context but no negative guidance.

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.