Skip to main content
Glama

Framezone

Add transaction

add_transaction

Add a financial transaction (income or expense) to an account with optional category.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYesTransaction type
notesNoAdditional notes
amountYesTransaction amount (positive number)
account_idNoAccount ID (see list_accounts). Defaults to the user's main account.
category_idNoCategory ID
descriptionYesWhat is this transaction for
transaction_dateNoDate (Y-m-d, defaults to today)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already indicate this is a mutating but non-destructive operation, and the description's 'add' is consistent with that. The description adds little beyond the annotations, such as side effects on account balances or validation behavior, but it 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 a single sentence that leads with the action and resource, uses a parenthetical to clarify the main transaction types, and flags the optional category. There is no filler or repetition, making it easy to scan.

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 simple creation tool with no output schema, the description plus the fully documented input schema provides enough information to invoke it correctly, including defaults already provided in schema descriptions. It is not a 5 because it omits the transfer type and does not describe expected results or side effects, though these are minor given the schema richness.

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 description does not need to explain parameters in detail. It adds marginal value by highlighting 'optional category' and describing the transaction types, but the schema already documents all parameters and includes 'transfer' in the enum, making the description's contribution limited.

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 a specific verb and resource: adding a financial transaction to an account, which differentiates it from most sibling tools. It is slightly inaccurate by narrowing transaction types to 'income or expense' when the schema enum also includes 'transfer', so it is clear but not fully aligned with the accepted values.

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 gives a clear context for using the tool: recording a financial transaction against an account. However, it does not explicitly address when to prefer an alternative like add_trade, nor does it explain when this tool would not be appropriate, leaving usage to be inferred rather than 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