Skip to main content
Glama

messages_bulk_unapprove

Body {message_sqids: ['abc','def']}. Moves APPROVED messages back to REVIEW_REQUIRED so they can be re-edited before sending. Messages in other statuses are skipped.

Method: POST /api/v1/workspaces/{workspace_sqid}/messages/bulk-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": {
      "body": "<body>",
      "subject": "<subject>"
    },
    "name": "messages_bulk_unapprove"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
channelNo
subjectYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose the state-machine effect and the skip behavior for messages in other statuses, plus the HTTP method and endpoint. It omits permission requirements, batch-size limits, and what the response contains, which are material for a mutation tool.

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?

Three short blocks: payload example, effect with skip rule, then method/endpoint. Nothing is padded, though leading with the raw payload example before stating the purpose is slightly less front-loaded than it could be.

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

Completeness2/5

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

No annotations and no output schema mean the description must cover behavior and results, yet it omits return information, auth needs, and two of three parameters. For a bulk mutation endpoint with an undocumented required `subject` field, this leaves real gaps an agent would hit at call time.

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 three parameters, and the description only illuminates the body payload key (message_sqids) via an example. It says nothing about the required `subject` parameter or the `channel` parameter, and the example shows an object while the schema declares body as a string, leaving the actual payload shape ambiguous.

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 and resource plus the exact state transition: APPROVED messages are moved back to REVIEW_REQUIRED so they can be re-edited. The bulk scope is conveyed by the plural payload example and the name, though no sibling (e.g. messages_unapprove or messages_bulk_approve) is named to sharpen the distinction.

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 through a precondition: only APPROVED messages are affected and others are skipped, which tells an agent when the call is meaningful. However, no alternative is named, so an agent must infer from the name whether to use the single-message unapprove or the inverse bulk-approve tool.

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.