Skip to main content
Glama

Adopt, decline, mark not relevant, or remove items

update_items
Idempotent

Records an action on catalog items: adopt marks an item as in use; decline marks it as rejected; not_relevant marks it as a poor fit for the agent's job, not a quality judgment; remove marks a previously adopted item as uninstalled. The coach measures only adopted items. Requires the agent's api_key.

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": {
      "item_ids": "<item_ids>"
    },
    "name": "update_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNoadopt: mark as in use; remove: mark a previously adopted item as uninstalled; decline: mark as rejected; not_relevant: mark as a poor fit for the agent's job, not a quality judgment.adopt
reasonNo
api_keyNoThe agent's api_key. Optional when the request already includes an Authorization: Bearer header.
item_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"adopt; remove (was adopted, now uninstalled); decline (owner said no); not_relevant (doesn't fit your job; not a judgment on the item's quality)"New value: +"adopt: mark as in use; remove: mark a previously adopted item as uninstalled; decline: mark as rejected; not_relevant: mark as a poor fit for the agent's job, not a quality judgment."
    • changedInput schema / properties / api_key / description
      Previous value: -"Your Agent Coach api_key from register_agent. Optional if you send it as an Authorization: Bearer header."New value: +"The agent's api_key. Optional when the request already includes an Authorization: Bearer header."
  2. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the description is not obligated to cover safety. It still adds useful context: the downstream consequence that the coach measures only adopted items, the not-a-quality-judgment framing for not_relevant, and the dependency that remove requires a prior adopt. It does not describe the response or what happens on partial failures across multiple item_ids.

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?

The purpose is front-loaded and the semicolon-separated action list is easy to scan. The main waste is the action glossary, which duplicates the schema's enum description word-for-word instead of using that space for item_ids and reason semantics.

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?

For a 4-parameter mutation tool with no output schema, the definition covers action semantics and the adopt/remove lifecycle well. It is still thin on what the agent gets back, whether the call is all-or-nothing across up to 20 item_ids, and how 'reason' should be populated.

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 coverage is 50% and the description spends its parameter budget restating the 'action' enum verbatim from the schema, adding no new meaning. It says nothing about 'item_ids' (that up to 20 items are batched per call) or 'reason' (when a reason is expected or how it is used). Its claim that the tool 'Requires the agent's api_key' is also stricter than the schema, which documents api_key as optional when an Authorization Bearer header is present.

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 verb+resource framing ('Records an action on catalog items') is specific, and each of the four actions is defined in plain language, so the agent knows exactly what operation this performs. It never names a sibling tool or states how it relates to read-side tools like search_library or get_library_item, so differentiation is left to inference.

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?

One precondition is stated explicitly: 'remove marks a previously adopted item as uninstalled', which tells the agent when remove is valid. However, there is no guidance on choosing between similar actions (decline vs not_relevant) beyond the definitions themselves, and no statement of when not to call the tool or what to do if an item is already in the target state.

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