Skip to main content
Glama
Tellagen MCP Server

Tellagen MCP Server

Official
by Tellagen

tellagen_complete_investigation

Destructive

Complete or fail an investigation run by validating the RCA summary and required causes, figures, and timeline events; missing items return repair guidance before you retry.

Instructions

Complete or fail an investigation run. Tellagen checks the result first, when it can: if something is missing, the answer is completed false with every repair at once (the field, what is missing, one example of a valid value), and nothing is changed; fix them and call again. Before you complete a run, post each cause with tellagen_update_cause, build figures with tellagen_build_figure, and post the key moment with tellagen_post_timeline_event. Set status to "completed" when done, or "failed" with a failure_reason if the investigation could not finish. Write the headline claim (result_summary.conclusion.sentence) in 15 words or fewer, with one cause, for example "The checkout pool size of 5 ran out of database connections at 14:02." and not a long sentence that lists the checks you made; the detail goes in the findings. Include result_summary for the shared RCA record whenever possible: causal_paths (2 to 4 steps, each citing finding_ids and a figure), ruled_out, coverage and unknowns, and for a regression or CI failure change_refs (the regression_source, the fix and the verified_by runs after it). The response carries the backend warnings[] verbatim and, only when there are warnings, a one-line warnings_summary; read it and name anything you could not fix in your report. result_summary must have conclusion, likely_cause_label, customer_impact, confidence_percent, signals_checked and takeaways, and should have assessment.diagnosis_state. The result can only propose a cause. A person accepts or rejects the root cause in Tellagen, and an API key cannot do it.

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": {
      "status": "<status>"
    },
    "name": "tellagen_complete_investigation"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idNoInvestigation run ID. Leave it out to use the run this session picked up.
statusYesFinal status for the run
failure_reasonNoReason for failure (required when status is "failed")
result_summaryNoStructured RCA summary shown in Tellagen when the run completes
mitigation_stateNoExplicit mitigation state for completed runs. Use "applied" or "recovered" only after posting the frozen verification check.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.0

TDQS

A4.4/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: a pre-flight validation gate that returns 'completed false with every repair at once ... and nothing is changed', verbatim backend warnings[] with an optional warnings_summary, and the hard authority limit that a person, not an API key, accepts the root cause. It does not explain what is overwritten when a run is re-completed, despite destructiveHint=true and idempotentHint=false.

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 and the validation gate before the long field guidance, and each block (prerequisites, status semantics, headline rule, summary composition, warnings, authority) is a coherent unit. It is long, but the length is largely earned by the nested schema; a few clauses, such as the repeated restatement of the completed/failed statuses, could be trimmed.

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

Completeness5/5

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

For a 5-parameter tool with a deeply nested result_summary and no output schema, the description covers the gate behavior, prerequisite ordering, the headline constraint, the required and recommended summary components, the warnings contract, and who may accept a cause. Nothing an agent needs in order to call it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description still adds meaning the schema does not carry, such as the 15-word one-cause rule for result_summary.conclusion.sentence with a concrete good example and an anti-example, and the 2-to-4 step guidance for causal_paths. change_refs is explained as required for regression or CI failures, which the schema only implies through its role enum.

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?

Opens with a specific verb+resource pair ('Complete or fail an investigation run') and immediately scopes it against the sibling workflow by naming the tools that must run first (tellagen_update_cause, tellagen_build_figure, tellagen_post_timeline_event). An agent can distinguish this terminal step from the posting/building siblings without opening a schema.

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

Usage Guidelines4/5

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

Gives explicit when-to-use branches: status 'completed' when done, 'failed' with failure_reason when the investigation could not finish, plus a sequencing rule for the prerequisite posts. It never mentions tellagen_amend_investigation, so the 'already completed, want to change it' case is left to inference.

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