Skip to main content
Glama
Splits MCP Server

Splits MCP Server

Official

accounting_rules_create

Create an accounting rule that assigns a direction, target category, and conditions to match transfers. Duplicate rules with the same direction and conditions are rejected.

Instructions

Add a rule. Sets a direction, a target category, and at least one condition. A rule with the same direction and conditions as an existing one is rejected.

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": {
      "direction": "<direction>",
      "categoryId": "<categoryId>"
    },
    "name": "accounting_rules_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainIdNoMatch transfers on this chain
directionYesWhich transfers the rule matches
workspaceNoWorkspace alias to run this command in (see `splits auth workspaces`). Overrides SPLITS_WORKSPACE and the active workspace.
categoryIdYesCategory id from 'accounting categories list'
tokenAddressNoMatch transfers of this token. Requires --chain-id.
counterpartyAddressNoMatch transfers to or from this address
sourceSmartAccountAddressNoMatch transfers on this org account: the sender for outbound, the receiver for inbound

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one genuinely behavioral fact: a rule duplicating an existing rule's direction and conditions is rejected. It says nothing about required permissions, whether rule changes are reversible, what a successful create returns, or how overlapping rules are prioritized, which are significant gaps for an unannotated mutation.

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 short sentences, front-loaded with the action, then the required shape, then the duplicate-rejection constraint. No filler; the only weakness is that 'Add a rule' is so terse it could have folded in the resource name.

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 7-parameter mutation with no annotations and no output schema, the definition covers composition and the duplicate check but omits return behavior, permissions, and how the optional match fields combine into 'conditions'. Adequate to call correctly, not complete enough to predict the outcome.

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 already 100%, so the baseline is 3, but the description adds a real constraint not encoded in the schema: only direction and categoryId are marked required, yet the description states at least one condition (the optional match fields) is mandatory. That extra rule is exactly the kind of meaning a schema cannot express.

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?

"Add a rule" gives a specific verb and resource, and the description enumerates the rule's anatomy (direction, target category, at least one condition), so an agent knows what it is creating. It does not name or differentiate itself from accounting_rules_update or accounting_rules_list, so the sibling distinction is left implicit.

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 only implied: 'Add a rule' plus the note that duplicates are rejected tells the agent this is for net-new rules, and 'at least one condition' functions as a precondition. There is no explicit guidance on when to use accounting_rules_update instead, nor on whether the target category must already exist.

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