Skip to main content
Glama

AssetLab

Create asset cost

create_asset_cost

Create a new asset cost entry - the record type shown on the AssetLab "Expenses" page. Requires asset_costs:write scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYesCost amount (required)
site_idNoSite ID
asset_idNoAsset ID
categoryYesCost category (required)
cost_dateYesCost date (ISO 8601, required)
po_numberNoPurchase order number (free text)
building_idNoBuilding ID
descriptionNoDescription
work_order_idNoWork order ID
invoice_numberNoInvoice number (free text)
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the bar is lower. The description adds the required authorization scope (asset_costs:write), which is genuine behavioral context not present in the annotations.

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, zero filler, front-loading the core action before the disambiguating detail and scope requirement.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a create tool with 11 parameters, no output schema, and annotations covering the safety profile, the description covers purpose and the required scope. It omits any indication of the return value or duplicate-handling, but is largely sufficient given the rich schema and annotations.

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 100%, so all 11 parameters are documented in the schema itself (including the nuance that purchase_order_id counts against remaining balance). The description adds no parameter-level information beyond what the schema provides, so the baseline of 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+resource ("Create a new asset cost entry") and adds a distinguishing anchor ("the record type shown on the AssetLab 'Expenses' page"), which helps separate it from the many sibling create_* tools. It stops short of explicitly naming the nearest siblings it could be confused with (create_expense, create_infrastructure_asset_cost).

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 "Expenses page" reference implies where this record surfaces but gives no explicit when-to-use guidance or routing against siblings like create_expense or create_infrastructure_asset_cost. Usage is inferable but not stated.

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