Skip to main content
Glama
Mipiti MCP Server
by Mipiti

Request Inventory Checks

request_inventory_checks

Queue missing tag and duplicate inventory checks for a threat model—first returning a cost estimate, then queuing paid work only after confirmation.

Instructions

Queue the checks a model's inventory lacks: the tag check of every entity whose tags are not current, and the duplicate check of every entry on a pair no current check covers. Mutating only with confirm_estimate=True: queues paid background work then.

  1. Call without confirm_estimate (the default): nothing is queued. The answer carries the estimate (credits, platform_credits, by_kind), billing and confirmed: false. RELAY THE ESTIMATE TO THE PERSON; a program confirms only within its spending allowance.

  2. Once they agree, call with confirm_estimate=True: the checks the estimate described are queued.

Those the platform made stale are recorded as its own request, the rest under the caller. The answer holds queued by kind and the platform's share (platform). Read the results with get_inventory_judgements once they land. A 402 comes back as data, {confirmed: false, http_status, code, message}. A 403 allowance_exceeded with an escalation_id means a program's act over its allowance is parked for a person: do not retry, poll list_proposals.

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": {
      "server_version": "<server_version>",
      "model_id": "<model_id>"
    },
    "name": "request_inventory_checks"
  }
}

Input Schema

NameRequiredDescriptionDefault
model_idYesID of the threat model.
server_versionYes
confirm_estimateNoFalse (default) estimates; True queues the checks.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.113.0
    • addedInput schema / properties / confirm_estimate
      Added value: +{
      +  "default": false,
      +  "description": "False (default) estimates; True queues the checks.",
      +  "type": "boolean"
      +}
  2. Addedv0.91.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it discloses that the tool is mutating only under confirm_estimate=True, that this queues paid background work, how ownership of stale checks is attributed, and the exact failure shapes (402 returned as data, 403 allowance_exceeded with escalation_id parked for a person, do not retry). These are behavioral facts an agent could not infer from the schema.

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 mutating condition and the paid-work warning are front-loaded, and the two-step flow is broken into numbered points that are easy to follow. It is dense and slightly long, with a few parenthetical field lists that could be trimmed, but nearly every sentence carries operational information.

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 mutating, paid, background-queueing tool with no annotations, the description covers the confirmation gate, billing consequence, ownership attribution, error handling, and where to read results. An output schema exists, so its detailing of the answer fields is surplus but harmless rather than a gap.

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

Parameters4/5

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

Schema coverage is 67%, so the baseline is 3; the description goes beyond it by fully explaining the pivotal confirm_estimate flag — default false returns an estimate with confirmed: false and queues nothing, true queues the checks the estimate described. The other two parameters (model_id, server_version) get no added meaning in the description, keeping this short of a 5.

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 and precisely scopes it: it queues the tag check for entities whose tags are not current and the duplicate check for pairs no current check covers. That scope is distinct enough from sibling request tools (request_model_check, request_delta_second_reading) that an agent can tell what this one does without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It prescribes an explicit two-step protocol: first call without confirm_estimate to get an estimate and relay it to the person, then call with confirm_estimate=True once they agree. It also routes the agent to get_inventory_judgements for results and to list_proposals for the parked-over-allowance case, so the when and the alternatives are both stated.

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