Skip to main content
Glama

Reject a saved post version

reject_post_variant
DestructiveIdempotent

Rejects one exact saved Post channel version after the user explicitly asks to reject it. Inputs bind postId, expectedPostRevision, variantId, expectedVariantRevision and expectedContentHash to the current list_posts/get_context result; confirmation=CONFIRM_REJECT_POST_VARIANT reflects that user instruction. The server rejects stale IDs, revisions or content hashes and excludes an in-progress delivery under the normal review lock. This changes editorial approval only; it does not schedule or publish. Requires the separate review permission. A unique idempotencyKey identifies this requested decision and is reused for exact retries.

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": {
      "postId": "<postId>",
      "expectedPostRevision": "<expectedPostRevision>",
      "variantId": "<variantId>",
      "expectedVariantRevision": "<expectedVariantRevision>",
      "expectedContentHash": "<expectedContentHash>",
      "idempotencyKey": "<idempotencyKey>",
      "confirmation": "<confirmation>"
    },
    "name": "reject_post_variant"
  }
}

Input Schema

NameRequiredDescriptionDefault
postIdYes
variantIdYes
confirmationYes
idempotencyKeyYes
expectedContentHashYes
expectedPostRevisionYes
expectedVariantRevisionYes

Output Schema

NameRequiredDescriptionDefault
postIdYes
statusYes
decisionYes
variantIdYes
postRevisionYes
variantRevisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, the description discloses stale-ID/revision/hash rejection, exclusion of an in-progress delivery under the review lock, the fact that the change is editorial-only, the separate review permission requirement, and idempotency key reuse for exact retries. This is substantial behavioral context for a destructive mutation.

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?

The purpose is front-loaded in the first sentence, and the remaining sentences add operational constraints, permission requirements, and idempotency semantics without repetition. The density is appropriate for a destructive mutation with seven required parameters.

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

Completeness5/5

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

For a destructive, seven-parameter mutation with no schema parameter descriptions, the definition covers purpose, preconditions, optimistic-concurrency behavior, permission requirements, side-effect boundaries, and idempotency. With an output schema present and safety annotations supplied, no critical agent-facing information is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning, and it does: it explains binding postId, expectedPostRevision, variantId, expectedVariantRevision, and expectedContentHash to the current list_posts/get_context result, ties confirmation to the user instruction, and explains idempotencyKey as a reusable identifier for exact retries.

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 and resource: rejecting one exact saved Post channel version. It also scopes the action by requiring an explicit user request, and clarifies that this changes editorial approval only rather than scheduling or publishing.

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 clearly states the triggering condition: the user must explicitly ask to reject the version, and confirmation must be supplied. It also notes the separate review permission and that this does not schedule or publish. It does not explicitly name approve_post_variant as the alternative path, but the usage context is otherwise clear.

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