Skip to main content
Glama

ai_runbook

Read-only

AI On-call Runbook — Draft an SRE on-call runbook for a service or alert: service= (required), optional alert=, stack= and oncall=. Returns markdown with Overview, Severity (SEV1-3), Detection, Triage, Diagnosis, Mitigation, Escalation, Verification and Follow-up, plus parsed sections, numbered-step count, risky-step warnings and missing-section check. Price: $0.012 USDC (Base, via x402).

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": {
      "service": "<service>"
    },
    "name": "ai_runbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
serviceYese.g. Postgres primary for the orders API, alert fires when replication lag exceeds 30s

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered; the description adds genuinely new behavior: the full markdown section list, parsed sections, step count, risky-step warnings, missing-section checks, and crucially a price of $0.012 USDC via x402. The one flaw is that it advertises optional parameters (alert, stack, oncall) that the schema does not expose, which could mislead an agent about the call surface.

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?

Front-loaded with the purpose, then output shape, then pricing — a sensible information order with no filler sentences. The nine-section enumeration is long but earns its place by telling the agent what to expect back.

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?

For a one-parameter generation tool with no output schema, the description covers input intent, output structure, and cost, which is close to complete. The phantom optional parameters are the notable gap, since an agent could plan a call that the schema cannot satisfy.

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

Parameters2/5

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

Schema coverage is 100% for the single 'service' parameter and its example is good, so the baseline would be 3. However, the description introduces 'optional alert=, stack= and oncall=' parameters that do not exist in the input schema, which actively misleads an agent into attempting arguments that will be rejected rather than adding meaning.

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

Purpose5/5

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

States a specific verb and artifact ('Draft an SRE on-call runbook') for a specific input ('a service or alert'), and enumerates the output sections so an agent knows exactly what it will get. This is clearly distinguishable from siblings like ai_bug_report or ai_decision_matrix.

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?

The phrase 'for a service or alert' implies the use case and the description frames the tool as a drafting aid, but there is no explicit when-to-use/when-not guidance and no named alternative for adjacent needs (e.g. incident postmortems vs. runbooks). Usage is inferable rather than stated.

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