Skip to main content
Glama
Splits MCP Server

Splits MCP Server

Official

accounting_categorize_bulk

Apply up to 500 accounting category overrides from a JSON file in one atomic insert; a rejected row rolls back the batch and leaves no partial changes.

Instructions

Write up to 500 overrides from a JSON file, as one atomic insert: a rejected row leaves nothing behind. The file holds an array of { kind: 'set' | 'revoke', targetKind: 'transfer' | 'accrual_lot', targetId, categoryId? }; a set names a categoryId and a revoke doesn't. The last row per target wins.

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": {
      "file": "<file>"
    },
    "name": "accounting_categorize_bulk"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesPath to a JSON file holding an array of overrides
workspaceNoWorkspace alias to run this command in (see `splits auth workspaces`). Overrides SPLITS_WORKSPACE and the active workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does so well: it discloses atomicity ('a rejected row leaves nothing behind'), the row cap (500), and conflict resolution ('the last row per target wins'). It does not cover permission requirements, what an error response contains, or whether validation happens before the insert.

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

Conciseness4/5

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

Three sentences, front-loaded with the operation and its atomicity guarantee, then the payload contract, then the dedup rule. Dense and nearly waste-free, though the nested-brace payload sentence is compact enough to require careful reading.

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 bulk mutation with no annotations and no output schema, the description covers scope, atomicity, payload contract, and duplicate handling — the essentials for calling it correctly. Return values and the failure surface beyond 'nothing is written' remain unspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description exceeds it by fully specifying the file payload shape — the set/revoke kind discriminator, targetKind values, targetId, and the conditional categoryId — meaning the agent knows the required JSON structure from the description. The workspace parameter is left entirely to the schema.

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?

States a specific verb and resource plus scope: 'Write up to 500 overrides from a JSON file, as one atomic insert'. The bulk framing distinguishes it from the single-row siblings accounting_categorize_set and accounting_categorize_revoke without ambiguity.

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?

Usage is implied by the payload format and the 500-row cap, so an agent can infer this is the batch path rather than the single-row tools. However, there is no explicit statement of when to prefer this over accounting_categorize_set/revoke, no prerequisites, and no note on what to do for a one-row change.

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