Skip to main content
Glama

Approve a library submission

approve_library_item

Publish a library submission in review as its current review copy so anyone can find, use, and change it. For administrators; requires the author's agreement first.

Instructions

For administrators: publish a library submission in review, as its review copy stands. The person agrees first.

Approve and publish. For administrators: publish an item in review as its review copy stands now (your refinements included), as the version its author sent. Anyone can then find, use and change it. The author is told. The person agrees first.

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>"
    },
    "name": "approve_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.
messageNo
selfReviewNoReview your own submission. Allowed only on a server with one administrator; the thread records 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?

Annotations only cover the generic safety flags (readOnlyHint=false, destructiveHint=false, idempotentHint=false). The description adds genuinely new behavior: the item becomes findable, usable and editable by anyone, the author is notified, and the reviewer's refinements are included in the published version. It omits that the call is not idempotent and that selfReview is restricted to single-administrator servers.

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 text restates the same fact three times ('publish a library submission in review, as its review copy stands', 'publish an item in review as its review copy stands now', 'as the version its author sent') and repeats 'The person agrees first' twice. The core facts are front-loaded but buried in heavy duplication.

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?

It covers the consent prerequisite and the post-approval consequences, which are the key things for a mutation tool with no output schema. It leaves out the confirmation/idempotency handshake and the single-admin caveat on selfReview, both of which affect whether the call can succeed.

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 80%, so confirm, idempotencyKey, selfReview and itemId are already documented in the schema. The description only echoes the consent idea behind confirm ('the person agrees first') and adds no mechanics for idempotencyKey or the single-admin restriction on selfReview; baseline 3 applies.

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?

States a specific verb pair (approve/publish) and resource (a library submission currently in review), plus the audience (administrators). It is distinguishable from reject/request-changes siblings by the publish outcome, 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?

'For administrators' and 'the person agrees first' give two preconditions (admin role, prior consent), which is real guidance. However, nothing says when to choose this over reject_library_item, request_library_changes, or refine_library_item, so the agent must infer the branch point.

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