Skip to main content
Glama

AssetLab

Update infrastructure asset cost

update_infrastructure_asset_cost
DestructiveIdempotent

Update an infrastructure asset cost by ID. Requires infrastructure_asset_costs:write scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesCost ID
amountNoCost amount
categoryNoCost category
cost_dateNoCost date (YYYY-MM-DD)
po_numberNoPO number
work_order_idNoLinked work order ID
invoice_numberNoInvoice number
purchase_order_idNoPurchase order that paid this cost - resolve via list_purchase_orders. Counts against the order's remaining balance unless the cost belongs to a work order; null clears it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=false, so safety profile is largely covered. The description adds the write-scope requirement, which annotations cannot express. However it never explains what 'destructive' means here or whether omitting a field clears it, so the added context is thin.

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

Conciseness5/5

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

Two short sentences with no filler; purpose is front-loaded before the prerequisite. Nothing is redundant with the title.

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 destructive mutation tool with no output schema, the description covers purpose and auth but omits partial-update semantics (do unspecified fields persist or clear?) and any confirmation/irreversibility note. Given annotations carry the safety flags and the schema documents every parameter, it is adequate but not fully complete.

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% across all 8 parameters, including the intricate purchase_order_id semantics ('null clears it'). The description adds no parameter-level meaning beyond naming 'by ID', so the 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 and resource ('Update an infrastructure asset cost') plus the lookup key ('by ID'), which clearly separates it from create_/delete_ variants and from the non-infrastructure update_asset_cost sibling. It stops short of naming alternatives explicitly, so it is clear but not sibling-differentiating at the top tier.

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

Usage Guidelines2/5

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

The only usage guidance is the prerequisite scope ('Requires infrastructure_asset_costs:write scope'), which is useful. There is no statement of when to choose this over update_asset_cost, when not to use it, or what conditions must hold (e.g., the cost must exist).

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