Skip to main content
Glama

Create transaction

create_transaction

Create a transaction.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "amount": "<amount>",
      "booking_date": "<booking_date>"
    },
    "name": "create_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesamount
statusNostatus
currencyNocurrency
metadataNometadata
referenceNoreference
contact_idNocontact_id
payee_nameNopayee_name
descriptionNodescription
bank_accountNobank_account
booking_dateYesbooking_date
ledger_accountNoledger_account
bank_account_idNobank_account_id
payment_purposeNopayment_purpose
match_confidenceNomatch_confidence
ledger_account_nameNoledger_account_name
matched_document_idNomatched_document_id
suggested_document_idNosuggested_document_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.1/5.0
Behavior2/5

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

Annotations already disclose readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=false, so the safety profile is known without the description. The description adds nothing beyond that — no mention of required permissions, side effects, validation rules, or what happens on duplicate submission for a non-idempotent write.

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

Conciseness2/5

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

It is short, but brevity here reflects under-specification rather than efficient structure. The single sentence carries no information an agent could not read off the tool name, so it does not earn its place.

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

Completeness1/5

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

A 17-parameter, non-idempotent mutation with a nested object, no output schema, and no documented return value requires far more description than one tautological sentence. Nothing an agent needs to call this safely or correctly is present.

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 nominally 100%, so the baseline is 3, but those schema descriptions are pure restatements of the property names (e.g., "amount": "amount"), giving no real semantics. The description contributes nothing to clarify the 17 parameters, including ambiguous ones like bank_account vs bank_account_id, match_confidence, or the nested metadata object.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description "Create a transaction." is a tautology that merely restates the tool name and title. It adds no scope, resource detail, or distinguishing information versus siblings like create_posting or book_invoice.

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?

No when-to-use guidance, no prerequisites, and no mention of alternatives such as update_transaction, match_invoice_transaction, or create_posting. The agent must infer entirely from the name when this tool is appropriate.

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