Skip to main content
Glama

A2A Defense & Monetization Gateway

orchestrate_m2m_saga_transaction

Orquesta transacciones distribuidas multi-agente M2M bajo el patrón Saga con transacciones compensatorias automáticas ante fallos de agentes o particiones de red.

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

Input Schema

NameRequiredDescriptionDefault
stepsYesLista secuencial de pasos a ejecutar por diferentes agentes
saga_idYesIdentificador único de la transacción Saga (ej. SAGA-xxxx)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it only covers the Saga/compensation concept. It says nothing about whether saga_id must be new or is idempotent, whether execution is synchronous, what happens to already-committed steps when compensation fires, whether real agents/services are invoked with real cost, or what permissions are required — significant gaps for a mutating orchestration tool whose schema includes cost_usd.

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?

A single dense sentence with no filler, and the core mechanism is front-loaded. It could be slightly more structured (purpose then behavior), but nothing is wasted.

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

Completeness2/5

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

This is a high-complexity, high-stakes orchestrator with nested steps, monetary fields, and no annotations or output schema. The description omits return values (saga status, per-step results), idempotency and retry semantics, and failure-partial-state behavior, so an agent cannot confidently predict the outcome of a call.

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% and the nested steps list is already documented in the schema, so the baseline is 3. The description adds no parameter-level meaning — it does not explain step ordering guarantees, what action_type values mean, or how compensation_payload pairs with payload.

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 (orchestrates) and resource (distributed multi-agent M2M transactions under the Saga pattern), plus the distinguishing mechanism of automatic compensating transactions. It is clear enough to separate from siblings like enforce_chain_postconditions or dispatch_agent_transactional_email, though it never explicitly names an alternative.

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: an agent can infer this is the tool for multi-step cross-agent transactions that need rollback on failure. There is no explicit when-to-use/when-not-to-use guidance, no prerequisite or ordering advice relative to siblings, and no mention of when a simpler single-agent dispatch suffices.

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