Skip to main content
Glama

Create transaction

numeral_create_transaction
Destructive

RECORDS a completed sale as a transaction — this WRITES a live tax/compliance record used for filings. Supply the calculation_id returned by numeral_calculate_tax and your reference_order_id. Numeral: POST /tax/transactions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
metadataNoArbitrary string key/value metadata.
calculation_idYesThe calculation id returned by numeral_calculate_tax.
reference_order_idYesYour order id for this sale (used for record keeping / dedupe).
transaction_processed_atNoUnix timestamp (SECONDS) the sale was processed. Defaults to now if omitted.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already include destructiveHint=true, and the description adds context that it writes a live tax/compliance record, emphasizing the irreversible nature for filings. This goes beyond the annotation by specifying the compliance impact.

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 sentences plus endpoint URL are concise and efficient. The action verb is front-loaded, and each sentence provides essential information without fluff.

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?

Given no output schema and destructiveHint annotation, the description sufficiently explains the tool's purpose and usage. It mentions the prerequisite calculation_id and the compliance nature, but could be improved by noting error scenarios or idempotency.

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 parameters are described in schema. The description adds marginal value by highlighting calculation_id and reference_order_id, but does not mention metadata or transaction_processed_at. It does not fully compensate for low coverage since coverage is already high.

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

Purpose5/5

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

The description uses a specific verb ('RECORDS') and resource ('completed sale as a transaction'), clearly distinguishing it from siblings like numeral_calculate_tax. It explicitly states the action and the purpose (live tax/compliance record for filings).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description indicates the tool is for completed sales and requires a calculation_id from numeral_calculate_tax and a reference_order_id. It implies context but does not explicitly exclude scenarios like refunds (handled by numeral_create_refund) or provide when-not-to-use guidance.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool has a distinct purpose with no overlap. Tax calculations, product/customer management, transaction recording, refunds, and health check are clearly separated.

Naming Consistency5/5

All tools use a consistent 'numeral_verb_noun' pattern with snake_case. Verbs are standard (calculate, create, get, list, ping) and maintain predictability.

Tool Count5/5

11 tools cover the core functionalities of tax calculation, product/customer management, transaction recording, and refunds without unnecessary extras.

Completeness3/5

Core CRUD is incomplete: missing lists for customers and transactions, and no update/delete endpoints. While key workflows are covered, significant operational gaps exist.