Skip to main content
Glama
Tellagen MCP Server

Tellagen MCP Server

Official
by Tellagen

tellagen_post_trace_step

Idempotent

Posts and updates a diagnostic trace step for the active investigation run, from running to done or error, using the same step_id.

Instructions

Post one check you make as a trace step of the active run, and update it as it goes: first with status running, then done or error with the same step_id. On a finished step, outcome says what the check did to the cause it tested (supports, rules_out, nothing_notable, inconclusive or unavailable), and cause_key links it to a cause you post with tellagen_update_cause. guidance names the matched runbook section the check follows, with the runbook ID, version and section exactly as the pickup gave them, or says that the check is your own choice; leave it out and Tellagen uses the step title as the reason. Send the same guidance on every update of a step. For a structured check of a matched runbook, use tellagen_post_runbook_check_attempt. Returns the stored step. It never posts a finding.

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": {
      "step_id": "<step_id>",
      "status": "<status>",
      "title": "<title>"
    },
    "name": "tellagen_post_trace_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
errorNo
titleYesShort human-readable step title
statusYesCurrent step status
outcomeNoWhat this finished check did to the cause it tested: supports, rules_out, nothing_notable, inconclusive, or unavailable (the source could not be read). Send it with status done or error.
step_idYesStable ID chosen before the check and reused for running → done/error updates. To add your outcome to a step that a hook of the client recorded, use the step ID the server names in a tool answer, or "recorded:latest" for the newest recorded step
guidanceNoOptional, immutable basis for this trace step. Leave it out for an ordinary check: Tellagen records your own judgment, with the step title as the reason. Give it when a frozen runbook or a responder guided the check: cite only frozen request.skills references or declare responder_request. Never submit legacy_unattributed.
cause_keyNoYour short key for the cause this check belongs to (for example deploy-4412); reuse it on every check of that cause
tool_nameNoSource/tool name (e.g., "grafana-loki", "github", "kubectl")
truncatedNo
input_jsonNoOptional JSON object captured as tool input or result metadata
request_idNoOnly while you work on a request of a responder on a finished run (you took it with tellagen_pick_up_run_request or a heartbeat gave it to you): the request id. Tellagen then takes the step on the finished run. Never send it otherwise.
reuse_hintNoOptional generalized read-only diagnostic evidence for future reuse review; never include commands, actions, URLs, secrets, incident values, or parameter values
started_atNoISO timestamp; defaults on the Tellagen server if omitted
step_indexNoDisplay order for this step
artifact_idNo
duration_msNo
result_jsonNo
tool_use_idNoSend an identifier of your own for this check, any stable string that is unique per check (for example check-2-loki-errors). Send the same value as tool_use_id on the evidence refs of the findings this check produced: it is how Tellagen joins them. You may add it to a step that is already done by posting the step again with the same status, guidance and reuse_hint; a later post that leaves it out clears it
completed_atNoISO timestamp when the step completed
result_bytesNo
result_summaryNoShort summary of the result or current progress
artifact_digestNo
investigation_run_idNoInvestigation run ID. Leave it out to use the run this session picked up.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare idempotentHint=true and readOnlyHint=false, and the description corroborates and enriches this: it explains the upsert pattern via a stable step_id, that guidance is immutable and must be resent on every update, that tool_use_id joins evidence to findings and is cleared by a later post that omits it, and that the tool returns the stored step without creating a finding. That is real behavioral context beyond the annotation flags.

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-loads the core action and lifecycle in the first sentence, then layers provenance and joining rules. It is dense but justified by a 23-parameter tool; the guidance sentence in particular is a long compound clause that could be split for faster scanning.

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 high-parameter write tool with no output schema, it covers the lifecycle, the immutable-guidance rule, cross-tool linkage to causes and findings, and the return value ('Returns the stored step'). Minor gaps remain around artifact and reuse_hint usage, but nothing essential to calling 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?

With 23 parameters at 70% schema coverage, the description still adds meaning for the consequential ones: outcome values are framed as what the check did to the cause, cause_key is tied to tellagen_update_cause, and guidance is explained in terms of runbook ID, version and section provenance. Lower-frequency fields (artifact_id, result_bytes, reuse_hint, duration_ms) are left to the schema, which documents them.

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 resource ('post one check you make as a trace step of the active run') plus the lifecycle it supports (running, then done or error with the same step_id). It explicitly separates itself from two siblings: 'For a structured check of a matched runbook, use tellagen_post_runbook_check_attempt' and 'It never posts a finding' (vs tellagen_post_finding).

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?

Gives conditional routing to the alternative tool for runbook-structured checks, states when guidance must be included versus left out, and scopes request_id to work on a responder's request ('Never send it otherwise'). When-not guidance is explicit rather than inferred.

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