Skip to main content
Glama

messages_unapprove

Moves an APPROVED message back to NEW (draft), clears scheduled_at, and removes it from the send queue. The message can then be edited and re-approved.

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

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_unapprove"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
sqidYes
channelNo
subjectYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/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 burden and does reasonably well: it discloses the side effects (clears `scheduled_at`, removes from the send queue), the precondition (message must be APPROVED), and the resulting editable state. It omits permission/auth requirements and error behavior for non-approved messages.

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 state transition and side effects are front-loaded in the first sentence, with the follow-up covering the resulting state. The trailing 'Method: POST ...' line is redundant scaffolding but short and harmless.

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 and no output schema, the description covers the state change and side effects but leaves the required parameters and the caller's permissions unaddressed. The unexplained required `body`/`subject` is the biggest gap an agent would hit when calling it.

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 four parameters, so the description must compensate and does not. It never mentions `sqid`, `body`, `subject`, or `channel`, leaving unexplained why a body and subject are required to unapprove a message.

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 names a specific verb (moves back) and resource (APPROVED message) plus the exact state transition NEW/draft, which makes it distinguishable from the approve-direction siblings without opening a schema. It stops short of naming the bulk or single approve counterpart 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?

Usage is implied by 'The message can then be edited and re-approved', which tells the agent the motive for unapproving. There is no explicit when-not guidance, no mention of the bulk variant, and no statement of what happens if the message is not currently APPROVED.

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.