Skip to main content
Glama
Splits MCP Server

Splits MCP Server

Official

accounting_assertions_edit

Correct engine-derived lot details by source transfer, updating unit price, acquisition time, or origin lot while preserving quantity as the account's true balance.

Instructions

Correct a lot the engine derived, naming it by the transfer it opened from. Asserts at least one of unit price, acquisition time, or origin lot. Quantity is never editable: the account's real balance is ground truth.

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": {
      "smartAccountId": "<smartAccountId>",
      "chainId": "<chainId>",
      "tokenAddress": "<tokenAddress>",
      "sourceTransferId": "<sourceTransferId>"
    },
    "name": "accounting_assertions_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainIdYesChain id
unitPriceNoCorrected cost basis per whole token, in USD
workspaceNoWorkspace alias to run this command in (see `splits auth workspaces`). Overrides SPLITS_WORKSPACE and the active workspace.
originLotIdNoCorrected lot this one carries basis from
tokenAddressYesToken contract address (0x...)
smartAccountIdYesAccount id the lot belongs to (from 'accounts list')
acquisitionTimeNoCorrected acquisition time. ISO 8601, must be in the past.
sourceTransferIdYesTransfer the lot opened from ('sourceTransferId' on the lot)
anchorOriginLotIdNoOrigin lot currently on the lot being edited ('originLotId'). Part of the lot's identity, not a new value.

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 two real behavioral facts: quantity is immutable because the account balance is ground truth, and at least one of unit price, acquisition time, or origin lot must be asserted. It omits permissions/auth needs, whether corrections are reversible, conflict behavior, and what the call returns.

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 and the identifying key, then the constraint, then the immutability rule. 'Naming it by the transfer it opened from' is slightly indirect phrasing for sourceTransferId, but nothing is wasted.

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 with no annotations and no output schema, the description covers the core semantics and the one-of constraint well, but leaves return behavior, failure modes, and permission requirements unstated. Adequate rather than 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 coverage is 100%, so the schema baseline already earns a 3, but the description adds a cross-parameter rule the schema does not express: at least one of unitPrice, acquisitionTime, or originLotId must be supplied. It also explains why no quantity parameter exists, which prevents an agent from searching for 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 gives a specific verb and resource ('Correct a lot the engine derived') and adds an identity rule ('naming it by the transfer it opened from'), so an agent knows this edits an engine-derived lot identified by sourceTransferId. It stops short of naming how it differs from close siblings like accounting_assertions_bulk, designate, or revoke.

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: the corrective framing ('correct a lot the engine derived') suggests it is for fixing bad derived data rather than creating assertions fresh. No explicit when-to-use, no exclusions, and no reference to the bulk/designate/revoke alternatives that would tell an agent which assertion tool to pick.

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