Skip to main content
Glama

log_manual_transaction

Log a manual income, expense, or equity transaction. Supports confirm and idempotency validation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoOptional transaction date (YYYY-MM-DD)
typeYesIncome, Expense, or Equity
amountYesThe absolute transaction amount (positive finite number <= 10000000)
farmIdYesThe unique farm ID
confirmNoSet to true to commit, false for dry-run preview
categoryYesLedger category (e.g. Feed, Sales, Postage)
descriptionNoOptional descriptive note
idempotencyKeyNoUnique request idempotency key

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations declare the mutation/safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false), so the description need not restate it. It does add two genuinely useful behaviors not in the annotations: a confirm flag enabling dry-run preview before commit, and idempotency validation. However it never says what a dry-run returns, whether a missing idempotencyKey risks duplicates, or why idempotentHint=false coexists with 'idempotency validation'.

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 short sentences with the core action front-loaded and no filler. It is efficient, though the second sentence is a feature list rather than the most decision-relevant information (the manual-vs-specialized boundary would have been a better second sentence).

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 an 8-parameter mutation tool with no output schema and no annotation coverage of the dry-run path, the description is thin: it omits what confirm=false returns, how idempotencyKey interacts with repeat calls, and the relationship to get_transactions. The 100% schema coverage on inputs prevents this from being worse than minimally adequate.

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%, so the schema already documents all 8 parameters including the confirm dry-run semantics and the amount bounds. The description only gestures at 'confirm and idempotency validation' and adds no format, default, or edge-case detail beyond the schema, 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 concrete verb (log) and resource (a manual income/expense/equity transaction), and the word 'manual' implicitly separates it from the automated domain-specific loggers in the sibling list (log_feed_purchase, log_eggs, log_mileage). It stops short of naming those siblings or stating the boundary explicitly, so an agent must infer when a transaction is 'manual'.

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?

There is no when-to-use or when-not-to-use guidance. An agent is left to infer from the adjective 'manual' that this is the fallback for transactions not covered by the specialized log_* siblings, and nothing tells it whether get_transactions is the read counterpart or what prerequisites 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