Skip to main content
Glama
Splits MCP Server

Splits MCP Server

Official

accounting_recompute_job

Poll a recompute job by ID, return its status, and surface nextJobId when a write lands mid-run so you can continue with the correct job.

Instructions

Poll a recompute. Status 'unknown' still means settled. A non-null nextJobId means a write landed mid-run: poll that job next.

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": {
      "jobId": "<jobId>"
    },
    "name": "accounting_recompute_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesJob id from 'accounting recompute current' or 'run'
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

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does add genuinely non-obvious behavior: status 'unknown' still counts as settled, and a non-null nextJobId signals a write landed mid-run requiring a follow-up poll of that job. These are the two edge cases an agent would otherwise get wrong. It does not cover error behavior, permissions, or the shape of the rest of the response.

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, front-loaded with the action and then the two exception rules. Every clause carries operative information and nothing is redundant.

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?

There is no output schema and no annotations, so the description must explain return semantics; it does so for the two high-risk cases (unknown status, nextJobId). For a two-parameter polling tool this is nearly sufficient, though a brief note on terminal states or error returns would close the remaining gap.

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 both jobId and workspace are already documented in the schema, including the workspace override of SPLITS_WORKSPACE. The description adds no parameter-level detail beyond that, so the baseline of 3 applies.

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 opens with a specific verb and resource: 'Poll a recompute.' Combined with the required jobId, an agent can tell this is the polling step for a recompute job rather than the current/run siblings. It stops short of naming the sibling tools explicitly, so differentiation is good but not maximally explicit.

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 timing is implied rather than stated: an agent infers this is called after a recompute starts and repeatedly until settled. There is no explicit statement of when to stop polling, when to prefer accounting_recompute_current, or any preconditions. The 'poll that job next' instruction gives partial chaining guidance.

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