Skip to main content
Glama

create_saga

Distributed transaction saga pattern implementation

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

Input Schema

NameRequiredDescriptionDefault
nameYes
stepsYes
compensationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

D1.5/5.0
Behavior1/5

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

With no annotations, the description carries the entire burden of behavioral disclosure and provides none. It does not say whether the tool writes files, mutates project state, requires compensations to be supplied, or what happens if a step lacks a matching compensation — all critical for a saga-construction operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but the brevity is under-specification rather than efficiency; a single fragment carries no actionable structure. Nothing is front-loaded because there is no operational information to front-load.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter creation tool with no annotations, no output schema, and no parameter descriptions, the definition supplies almost nothing an agent needs to invoke it correctly. The complex domain (distributed transaction orchestration) makes the omission more severe, not less.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across three parameters (name, steps, compensations), and the description compensates for none of it. The relationship between the 'steps' and 'compensations' arrays — ordering, one-to-one correspondence, whether compensations are optional — is left entirely undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is a noun phrase naming a domain concept ('Distributed transaction saga pattern implementation') rather than a verb+resource action. It does not state whether the tool scaffolds code, generates a design plan, or persists a saga definition, so the agent must infer the operation from the name alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance at all on when to use this versus alternatives. Nearby siblings such as design_saga_storage or create_event_store plausibly overlap, yet the description offers no condition, prerequisite, or exclusion to route between them.

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.