Skip to main content
Glama
Tellagen MCP Server

Tellagen MCP Server

Official
by Tellagen

tellagen_end_run_request

DestructiveIdempotent

End a responder's request on a finished run without creating a new version. Use nothing_new if nothing changed, or failed with a failure code if the task could not be completed.

Instructions

End a request of a responder on a finished run without a new version. Use state nothing_new when you read the source or checked the answer and nothing changed; the person sees that. Use state failed, with failure_code client_error, limit or time_limit, when you could not do it. Only the session that took the request can end it. Do not use it after an amendment: the amendment ends the request.

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": {
      "request_id": "<request_id>",
      "state": "<state>"
    },
    "name": "tellagen_end_run_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateYes
run_idNoLeave it out for a request this session took.
request_idYesThe request id: the number Tellagen gave it.
failure_codeNoOnly with state failed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.0

TDQS

A4.2/5.0
Behavior4/5

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

With destructiveHint=true and idempotentHint=true already declared, the description adds real context: the state is user-visible ('the person sees that'), only the session that took the request may end it, and the request cannot be ended after an amendment. It does not spell out what exactly is discarded or made unavailable when the request is ended, which is the main missing piece for a destructive operation.

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 core action is front-loaded, followed by the two state branches, the ownership constraint, and the amendment exclusion. Every sentence carries information, though 'the person sees that' is slightly indirect and the opening sentence is more convoluted than the rest.

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 four-parameter mutation with no output schema, the definition covers preconditions, valid state/failure_code pairings, ownership, and the amendment exclusion. What remains thin is the after-effect on the request and run once it is ended, which matters given the destructive annotation.

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?

The schema already documents run_id and request_id, but the description goes further by explaining what each state means in practice and which failure_code values pair with state failed. That converts bare enum values into decision rules an agent can act on. It stops short of explaining when run_id must be supplied versus omitted beyond what the schema already says.

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 names a specific verb and resource ('End a request of a responder on a finished run') and scopes it with 'without a new version', which separates it from the amendment path. It also explicitly names the sibling behaviour it must not follow ('Do not use it after an amendment'), so an agent can place it against tellagen_amend_investigation. The phrasing is slightly dense but unambiguous.

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 gives explicit when-to-use branches: state nothing_new when the source was read or the answer checked and nothing changed, and state failed when the work could not be done. It adds an ownership precondition ('Only the session that took the request can end it') and a clear exclusion ('Do not use it after an amendment'). Nothing about selection 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.