Skip to main content
Glama

Tokenbooks - crypto and fiat accounting and payments

Confirm Portfolio Transaction

confirm_transaction

Post a proposed accounting transaction to the books; this queued action returns a requestId.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
portfolioRefYesPortfolio exact name or slug
workspaceRefYesWorkspace exact name or slug
transactionIdYesPortfolio transaction ID

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
statusYes
successNo
requestIdNo
transactionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "oneOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "requestId": {
      +          "type": "string"
      +        },
      +        "status": {
      +          "const": "queued",
      +          "type": "string"
      +        },
      +        "transactionId": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "status",
      +        "requestId",
      +        "transactionId"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "error": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "message": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "message"
      +          ],
      +          "type": "object"
      +        },
      +        "status": {
      +          "const": "completed",
      +          "type": "string"
      +        },
      +        "success": {
      +          "type": "boolean"
      +        },
      +        "transactionId": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "status",
      +        "success",
      +        "transactionId"
      +      ],
      +      "type": "object"
      +    }
      +  ],
      +  "properties": {
      +    "error": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "message": {
      +          "type": "string"
      +        },
      +        "name": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "name",
      +        "message"
      +      ],
      +      "type": "object"
      +    },
      +    "requestId": {
      +      "type": "string"
      +    },
      +    "status": {
      +      "enum": [
      +        "queued",
      +        "completed"
      +      ],
      +      "type": "string"
      +    },
      +    "success": {
      +      "type": "boolean"
      +    },
      +    "transactionId": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "transactionId"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish that this is non-read-only and non-idempotent. The description adds useful behavioral context by stating the action is queued and returns a requestId, signaling async execution and the need to poll get_request_status. It doesn't mention failure modes or irreversibility, 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 with no filler. The core action ('Post a proposed accounting transaction to the books') is front-loaded, and the queued/requestId detail is packed into a short second clause.

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 complete schema coverage, three straightforward required parameters, and the presence of an output schema, the description is nearly sufficient. It clearly states what the tool does and what immediate result to expect, though it leaves the exact definition of a 'proposed' transaction and prior workflow implicit.

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%, with all three required parameters documented in the input schema. The tool description itself adds no parameter-level meaning, so it earns the baseline score rather than extra credit.

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 names a specific verb and resource: 'Post a proposed accounting transaction to the books.' It also adds the queued/requestId behavior, which helps distinguish this from related transaction tools like edit_transaction, merge_transactions, and split_transactions that operate on existing transactions rather than confirming a proposal.

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 phrases 'proposed accounting transaction' and 'queued action' imply this tool is for committing a previously staged transaction, but the description never states when to use it versus siblings such as preview_transaction_classification or edit_transaction. No explicit alternatives or exclusions are given, so routing is left mostly to inference.

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