Skip to main content
Glama
Splits MCP Server

Splits MCP Server

Official

accounting_rules_update

Update an accounting rule's direction, target category, or matching conditions while keeping omitted fields unchanged; use clear to remove specific conditions.

Instructions

Change a rule's direction, category, or conditions. Omitted fields stay as they are; --clear removes conditions.

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": {
      "ruleId": "<ruleId>"
    },
    "name": "accounting_rules_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
clearNoComma-separated conditions to remove: counterpartyAddress, sourceSmartAccountAddress, chainId, tokenAddress
ruleIdYesRule id from 'accounting rules list'
chainIdNoMatch transfers on this chain
directionNoNew direction
workspaceNoWorkspace alias to run this command in (see `splits auth workspaces`). Overrides SPLITS_WORKSPACE and the active workspace.
categoryIdNoNew target category id
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.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does add real behavioral context beyond the schema by disclosing patch semantics and the destructive effect of --clear, but it omits permissions/auth requirements, reversibility, and whether supplied condition fields replace or merge with existing ones.

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 short sentences, zero filler, and the partial-update rule is front-loaded right after the verb. Nothing needs to be trimmed and nothing is buried.

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 9-parameter mutation tool with no annotations and no output schema, the description covers the core patch semantics but leaves meaningful gaps: no mention of permissions, no statement of what the tool returns after a successful change, and no clarification of replacement versus merge behavior for conditions. Adequate, not complete.

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 description coverage is 100%, so the baseline is 3; the description earns above baseline by explaining the interaction between omitted fields and the clear parameter, which is exactly the non-obvious relationship the schema lists as separate properties without linking. It still doesn't resolve the semantics of supplying a new condition value over an existing one.

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?

The description names a concrete verb ("Change") and resource ("a rule") plus the specific fields being altered: direction, category, conditions. It is clearly distinct from siblings like accounting_rules_create or accounting_rules_delete, though it never names an alternative explicitly.

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 line "Omitted fields stay as they are" implicitly tells the agent this is a partial-update tool rather than a replace, which is useful usage guidance. However, there is no explicit statement of when to reach for this versus accounting_rules_create, nor any prerequisites such as needing a ruleId from accounting_rules_list (that hint lives only in the schema).

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