Skip to main content
Glama

Compl-AI-ance

log_episode

Eine Episode eröffnen: woran gearbeitet wird, was der Agent ERWARTET und wie sicher er ist (0..1). Die Vorhersage muss vor dem Ausgang stehen, sonst ist sie eine Erklärung. Bei eingeschaltetem Prädiktions-Tor ist eine offene Episode die Voraussetzung dafür, überhaupt etwas ändern zu dürfen.

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": {
      "agent_id": "<agent_id>",
      "summary": "<summary>"
    },
    "name": "log_episode"
  }
}

Input Schema

NameRequiredDescriptionDefault
summaryYes
agent_idYes
confidenceNo0..1 — die eigene Einschätzung
predictionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose two non-obvious behaviors: the enforced ordering of prediction before outcome, and the authorization gate that makes an open episode a precondition for mutations. It does not say what happens on duplicate opens, whether the episode is scoped to agent_id, or what is returned, which is the remaining gap.

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?

Three dense sentences, front-loaded with the purpose before the rules. The 'sonst ist sie eine Erklärung' clause earns its place by justifying the ordering constraint rather than restating it. No filler or repeated information.

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

Completeness3/5

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

For a four-parameter mutation-like tool with no annotations and no output schema, the definition covers purpose, parameters, and the gate rule well. It stops short of saying what the caller receives back (presumably an episode identifier) or how errors and duplicate opens behave, which an agent needs when no output schema exists.

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 only 25%, so the description must compensate and largely does: it maps summary to the work being done, prediction to the expected outcome, and confidence to certainty on a 0..1 scale. It also adds a semantic constraint on prediction (must precede the outcome) that the schema does not express. Only agent_id is left without description-side explanation, though its meaning is evident.

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 opens with a specific verb and resource ('Eine Episode eröffnen') and immediately defines what an episode captures: the work in progress, the agent's expectation, and its certainty. The domain term 'Episode' is explained rather than assumed. It never names the obvious counterpart close_episode, so sibling differentiation is left implicit.

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?

It gives a concrete timing rule — the prediction must be recorded before the outcome, otherwise it is merely an explanation — and states the gating condition: when the prediction gate is on, an open episode is required before anything may be changed. That is a clear use trigger. It does not address when-not to open an episode (e.g. duplicate open episodes) or name alternatives.

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