Skip to main content
Glama

Reject

reject_library_item

Reject a library submission with a message the author reads, letting administrators decline submissions while preserving any published version.

Instructions

For administrators: turn down a library submission, with a message the author reads.

Reject. For administrators: turn down a submission, with a message saying why. A published item's rejected update leaves the published version as it is.

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": {
      "itemId": "<itemId>",
      "message": "<message>"
    },
    "name": "reject_library_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemIdYesThe item: its id or its slug (library.list items[].id or .slug).
confirmNoThe confirmation id from a confirmation_required result, once the person agreed.
messageYesWhy: the author reads it.
idempotencyKeyNoSend with confirm: the idempotencyKey from the confirmation_required result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.2

TDQS

B3.4/5.0
Behavior4/5

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

Beyond the annotations it discloses two substantive facts: the message is read by the author (a visible side effect), and rejecting an update to a published item leaves the published version intact. It omits the confirmation_required two-step flow and idempotency behavior, which is notable given idempotentHint=false and the confirm/idempotencyKey parameters.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description states the same thing three times ("turn down a library submission, with a message the author reads", "Reject.", "turn down a submission, with a message saying why"). Only the final sentence about published versions carries unique information; the rest is duplicated padding.

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?

A mutation tool with no output schema and annotations that are fairly thin (destructiveHint=false, idempotentHint=false) would benefit from explaining the confirmation flow, whether a rejected author can resubmit, and what the call returns. The published-version note is good but leaves the state machine partly unexplained.

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 description coverage is 100%, so itemId, confirm, message, and idempotencyKey are already documented. The description's emphasis that the message is author-facing restates what the schema's message field already says ("Why: the author reads it"), adding no new semantics.

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?

"Turn down a library submission" is a specific verb+resource, and "For administrators" scopes the caller. It is clearly the inverse of the sibling approve_library_item even without naming it, though no sibling is named 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?

The admin audience is stated, which is a real precondition, but there is no guidance on when to reject versus request_library_changes or withdraw_library_item, nor any when-not condition. Usage must be inferred from the verb.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools