Skip to main content
Glama

implement_outbox_pattern

Generate transactional outbox table and polling/CDC consumer to guarantee event delivery

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": {
      "database": "<database>",
      "broker": "<broker>",
      "deliveryMethod": "<deliveryMethod>"
    },
    "name": "implement_outbox_pattern"
  }
}

Input Schema

NameRequiredDescriptionDefault
brokerYesTarget message broker
databaseYesTarget database
deliveryMethodYesOutbox delivery method

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It does not state what files or migrations are created, whether existing code is overwritten, what frameworks or ORMs are assumed, or how the "guarantee" is enforced; it only asserts the outcome.

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?

It is a single front-loaded sentence with no filler or repetition. It is efficient, though the compression leaves important qualifiers unstated.

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 code-generation tool with three required enum parameters and no output schema, the description identifies the main artifacts but omits what will actually be generated, where it will be placed, and any caveats. It is minimally adequate rather than complete.

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 all three enumerated parameters are documented in the schema itself. The description mentions polling/CDC but adds no syntax, defaults, compatibility constraints, or meaning beyond the schema, 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 uses a specific verb ("Generate") and names the concrete artifacts: a transactional outbox table plus a polling/CDC consumer. It is clear what the tool produces, though it does not explicitly differentiate itself from sibling pattern tools such as create_event_store or create_saga.

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?

It implies the tool is for guaranteeing event delivery, but gives no explicit when-to-use guidance, no prerequisites, and no named alternatives for choosing polling versus CDC or an outbox versus an event store. The agent must infer invocation conditions from the title alone.

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.