Skip to main content
Glama

run_chain

Read-onlyIdempotent

Run up to 8 checks or formulas in one call and get ONE signed bundle receipt. Each step is either a verify_math_or_tolerance argument object or {formula, inputs}. Planning and math verification check only — not a licensed professional engineering review, stamp, or sign-off.

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": {
      "steps": "<steps>"
    },
    "name": "run_chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint), so the description's job is context, and it delivers: the batch cap of 8, the fact that the whole run collapses into ONE signed bundle receipt, and an explicit liability/scope disclaimer. It stops short of stating what happens when a single step fails or whether step order matters, which is the main behavioral unknown for a batch runner.

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?

Three sentences, all front-loaded: the action and batch limit first, then the step contract, then the scope disclaimer. Nothing is repeated from the name or annotations, and no sentence could be dropped without losing information an agent needs.

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?

With no output schema, the description must say what comes back, and it does (one signed bundle receipt). For a single-parameter tool with a bare array schema, the description fills the two gaps that matter: batch size and per-step shape. Missing only failure semantics and ordering guarantees, which keeps it from a 5.

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 0% and the steps array has no item schema at all, so the description carries the full burden — and it does describe the two accepted step shapes (a verify_math_or_tolerance argument object, or {formula, inputs}). That is the single most important thing to know here, though the shapes remain schematic with no field-level detail or example.

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 specific verb and resource: batch-running up to 8 checks or formulas in a single call that returns one signed bundle receipt. It implicitly distinguishes itself from the single-shot siblings verify_math_or_tolerance and run_formula by explicitly referencing the verify_math_or_tolerance argument object as the step shape, though it never says outright that this replaces N separate calls.

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 ('in one call', up to 8 steps) rather than stated: there is no explicit 'use this instead of run_formula when you have multiple steps' routing. The one real guideline is a scope exclusion — planning and math verification only, not a licensed professional engineering review, stamp, or sign-off — which is valuable but defines what the tool is not rather than when to pick it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources