Skip to main content
Glama
Splits MCP Server

Splits MCP Server

Official

accounting_categorize_set

Categorize transfers or accrual lots by ID for accounting; internal, bridge, swap, and Earn transfers are rejected—use rules for address-based categorization.

Instructions

Put transfers or accrual lots in a category. Internal, bridge, swap, and Earn transfers are rejected. To categorize every transfer with an address, write a rule instead.

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": {
      "targetIds": "<targetIds>",
      "categoryId": "<categoryId>"
    },
    "name": "accounting_categorize_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetIdsYesComma-separated transfer ids (the Transfer ID column in exports) or accrual lot ids, up to 500
workspaceNoWorkspace alias to run this command in (see `splits auth workspaces`). Overrides SPLITS_WORKSPACE and the active workspace.
categoryIdYesCategory id from 'accounting categories list'
targetKindNotransfer for an asset transfer id, accrual_lot for a rebasing accrual's lot idtransfer

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It usefully discloses the server-side rejection set, which is non-obvious and prevents wasted calls, but it says nothing about whether the operation overwrites an existing category, is idempotent, or requires specific permissions.

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?

Three short sentences, all load-bearing, with the core action stated first and the constraint and alternative following. Nothing is repeated and no filler is present.

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 a four-parameter mutation tool with no annotations and no output schema, the definition covers purpose, validation constraints, and one alternative, which is enough to call it correctly. It falls short on mutation semantics — overwrite behavior, partial failure when some targetIds are rejected, and result shape — none of which the schema compensates for.

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 baseline is 3. The description adds only marginal meaning beyond the schema — it echoes the transfer/accrual-lot duality that targetKind already documents and adds no detail on targetIds formatting, category validity, or the 500-item limit.

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 specific verb and two precise resources: 'Put transfers or accrual lots in a category.' An agent can distinguish this from rule creation because the description explicitly routes bulk/address-based categorization to a rule instead. It does not distinguish itself from the similar-sounding siblings accounting_categorize_bulk or accounting_categorize_revoke, which keeps it below a 5.

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?

Gives real exclusions — internal, bridge, swap, and Earn transfers are rejected — plus an explicit alternative ('write a rule instead') for the address-wide case. What's missing is guidance on when to use the bulk or revoke siblings, or whether categorization can be re-applied to an already-categorized transfer.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools