Skip to main content
Glama

Update Inventory Details

update_inventory_details
Idempotent

Set an inventory item's typed details — kind vehicle/housing/bike/structure/power + that variant's fields (vehicle: plate/makeModel/vin/fuelType; housing: sleepCapacity/powerNeeds; power: rating/phase/voltage). Requires event_id + item_id + kind + details; host.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYes
detailsYes
item_idYes
event_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already indicate idempotentHint=true and destructiveHint=false. The description adds 'Set' which implies overwrite, but does not discuss authorization (e.g., host role) or side effects. No contradiction with annotations.

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?

Two sentences cover purpose and requirements efficiently. The trailing 'host' appears incomplete, slightly marring an otherwise concise description.

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 4 required parameters and no output schema, the description explains the input structure well but does not mention return value, error conditions, or how the update affects existing data (e.g., merging vs replacement).

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?

With 0% schema coverage, the description compensates by listing kind enum values and documenting fields for vehicle, housing, and power. However, it omits bike and structure field details, and the details object remains partially specified.

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 clearly states 'Set an inventory item's typed details' with specific verb and resource. It distinguishes from sibling tools like add_inventory_item or update_event by focusing on typed details with kind-specific fields.

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 description lists required parameters (event_id, item_id, kind, details) implying usage context, but does not explicitly state when to use this tool vs alternatives, nor exclude scenarios where other update tools would be more appropriate.

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.