Skip to main content
Glama

Dayze — Life Context

Record Purchase

record_purchase

Atomic expense + optional inventory item creation. ($0.10; API key required)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo
nameYes
amountYes
currencyNo
request_idNoClient idempotency key (retries return original result).
idempotency_keyNoAlias for request_id.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageNo
expense_idNo
transactionNoExpense/income transaction row.
inventory_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "Alias for request_id.",
      +  "type": "string"
      +}
    • addedInput schema / properties / request_id
      Added value: +{
      +  "description": "Client idempotency key (retries return original result).",
      +  "type": "string"
      +}
  2. Added

TDQS

A3.5/5.0
Behavior4/5

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

The description adds the transactional guarantee ('Atomic'), the $0.10 cost, and the API key requirement, none of which are present in the annotations. It aligns with readOnlyHint=false by indicating a write effect and does not contradict 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?

The description is compact and front-loaded: the functional effect comes first, followed by cost and auth requirements in parentheses. Every part earns its place and there is no filler.

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?

The presence of an output schema reduces the burden of describing return values, and required parameters are visible in the schema. However, the agent still has to infer when to use this tool relative to siblings and receives no help understanding the optional parameters, leaving clear gaps.

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 description coverage is only 33%, and the description does not explain what name, amount, date, or currency mean or how they map to the expense/inventory fields. The description fails to compensate for the schema's low parameter documentation.

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 description clearly states the operation as an expense record with optional inventory item creation, and the word 'Atomic' signals a single combined effect. It helps distinguish from siblings like log_expense and add_inventory_item, though it does not explicitly use the word 'purchase' in the description body.

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?

'Optional inventory item creation' implies the tool should be used when both an expense and an inventory item are needed, but it does not explicitly name alternatives like log_expense or add_inventory_item. The usage context is implied rather than clearly 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.