Skip to main content
Glama

Reject a held post

reject_post
Destructive

Reject a post that is waiting for approval: it is deleted and never goes out. Cannot be undone. Needs the delete permission, as deleting a post does in the app. Only for posts in pending_approval. The id is from list_pending_approvals.

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": {
      "id": "<id>"
    },
    "name": "reject_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
organizationIdNoWhich organization to act in: an id from list_organizations. Leave out for this connection's default organization.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, so the safety profile is largely covered. The description still adds meaningful context beyond them: that the post is permanently deleted and never published, that the action cannot be undone, and that the caller needs the delete permission. It does not describe the response or what happens to already-scheduled slots, which keeps it short of a 5.

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?

Four short sentences, front-loaded with the action and its consequence, then the irreversibility warning, then the precondition and id source. Nothing is redundant and the agent hits the most important facts first.

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 destructive mutation this covers the essentials: what is destroyed, that it is irreversible, the permission required, the allowed state, and the id's origin. The only gap is that with no output schema present, the description does not say what the call returns or whether a partial failure leaves anything behind.

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 coverage is 50%: organizationId is documented in the schema but the required id is not. The description compensates for the undocumented parameter by explaining the id's source (list_pending_approvals) and its allowed state (pending_approval posts only), though it adds no format or validation detail. With organizationId's default behavior handled entirely by the schema, the baseline plus partial compensation fits a 3.

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?

The description names a specific verb (reject) and resource (a post awaiting approval) and states the concrete effect: the post is deleted and never published. That effect, plus the pending_approval precondition, distinguishes it from approve_post and cancel_post without the agent needing to open any schema.

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 states the exact precondition ('Only for posts in pending_approval') and tells the agent where the required id comes from ('from list_pending_approvals'), which is real routing guidance. It stops short of explicitly naming approve_post as the alternative when the intent is to publish rather than discard, so it is not a full when/when-not map.

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.

Resources