Skip to main content
Glama
Tellagen MCP Server

Tellagen MCP Server

Official
by Tellagen

Build a fix option

tellagen_build_fix_option
Read-onlyIdempotent

Build a fix option for an incident diagnosis and return JSON matching result_summary.fix_options, so you don't write that JSON by hand.

Instructions

Check one way to fix the problem and return it in the shape result_summary.fix_options takes, so you never write that JSON by hand. A diagnosis leads with how to fix it: give 2 to 5 options, recommend at most one (an offered one), and keep a tempting wrong option in the list: not_recommended with the harm it would do, or no_effect when it is harmless but does not fix this. Name at most one target: vendor {key, issue_title, issue_body}, hand_off {team_id} or rollback {change_ref_id, runbook_ref}. Never send a label, a web address or an action type: Tellagen works out what each button does from the kind and the target. Read the file before you recommend a change to it, and name it in read_refs. A diff is for a change of 6 changed lines or fewer (build it with tellagen_build_figure, placement step_figure); a larger change has no diff, name the file and the owner. verify.command is read-only; never write a deploy, rollback, restart, scale, flag or purge command, and name a runbook step in a rollback only when the pickup showed one. Returns fix_option and notes about what Tellagen will judge with the run. Put each result in result_summary.fix_options of tellagen_complete_investigation, only when this Tellagen lists fix_options_v1. It changes nothing in Tellagen.

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": {
      "id": "<id>",
      "kind": "<kind>",
      "where": "<where>",
      "state": "<state>",
      "title": "<title>",
      "verify": "<verify>"
    },
    "name": "tellagen_build_fix_option"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesA short key, unique in the result
kindYespermanent_fix removes the cause; mitigation lowers or stops the harm; hand_off gives it to the team or vendor that owns it; leave_as_is says nothing should change
riskNo
stateYesoffered = a way to fix it; no_effect = harmless but does not fix this; not_recommended = a tempting option that would do harm
titleYes
whereYesWhose system the change is in
changeNo
effortNo
vendorNo
verifyYes
hand_offNo
rollbackNo
read_refsNoThe files you read in this run to write the option
trade_offsNo
finding_idsNoFindings of this run that show why the option is right or wrong
recommendedNoAt most one option, and an offered one
state_reasonNoRequired unless the state is offered

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.0

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already declare readOnlyHint and destructiveHint=false, and the description is consistent with them, saying it 'changes nothing in Tellagen'. Beyond that it discloses what gets returned (fix_option plus notes about what Tellagen will judge with the run), safety limits on verify.command (read-only, no deploy, rollback, restart, scale, flag or purge commands), and the rule that a runbook step may be named only when the pickup showed one. It does not describe pagination or error behavior, but this tool builds an object, so that matters less.

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?

The purpose comes first, then the constraints, so the structure is fine. The paragraph is long and uses colon-chained clauses ('a tempting wrong option in the list: not_recommended with the harm it would do, or no_effect when...'), which makes it slower to scan, but nearly every sentence carries a distinct rule an agent needs for a 17-parameter tool.

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?

There is no output schema, so the description has to explain what comes back. It does that ('Returns fix_option and notes about what Tellagen will judge with the run') and says where the result goes (result_summary.fix_options of tellagen_complete_investigation, gated on fix_options_v1). Together with the diff-size rule and the read_refs requirement, this is nearly enough context for a tool with nested parameters, though a few scalar fields remain unexplained.

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?

There are 17 parameters and only 47% schema description coverage, so the description has to carry meaning for the fields. It does add real value: it explains the three states (offered, no_effect, not_recommended) and how each is used, the shape of each target (vendor with key/issue_title/issue_body; hand_off with team_id; rollback with change_ref_id and runbook_ref), and it forbids sending a label, web address or action type. It says nothing about id, kind, where, title, risk, effort, trade_offs, finding_ids or the change line/path fields, so it only partly makes up for the coverage gap; that makes a 3 the right score, not 4.

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 gives a concrete verb and resource: build one fix option and return it in the shape result_summary.fix_options takes, so the agent never hand-writes that JSON. It also separates the tool from tellagen_build_figure (used for diffs at step_figure) and tellagen_complete_investigation (where results are placed). The opening 'Check one way to fix the problem' is slightly indirect, but the rest pins down the purpose.

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

Usage Guidelines5/5

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

It states explicit rules: give 2 to 5 options, recommend at most one and only an offered one, deliberately include one tempting wrong option as not_recommended or no_effect, and name at most one target among vendor, hand_off or rollback. It adds prerequisites (read the file before recommending it and name it in read_refs), a size threshold (diff only for 6 or fewer changed lines, otherwise name the file and owner), and gating ('only when this Tellagen lists fix_options_v1'). That is about as specific as when-to-use guidance gets.

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