Skip to main content
Glama

audit_sse_text

Audit pasted SSE streams or trace JSONL offline to detect protocol breaches and timing issues, returning findings and a redacted issue report.

Instructions

Audit pasted SSE or trace JSONL offline. Return protocol findings and a redacted issue report.

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": {
      "text": "<text>"
    },
    "name": "audit_sse_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesRaw SSE text or the contents of an inferdiff .trace.jsonl recording.
dialectNoStream dialect or auto to detect it from the recording.auto

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden for a tool that processes arbitrary pasted content. It does disclose the return shape (protocol findings plus a redacted issue report) and that processing is offline, but it says nothing about input size limits, failure modes for malformed text, what data is redacted or why, or how findings are structured. For a zero-annotation tool this leaves meaningful behavioral gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the action and scope, then the result. Nothing is wasted and no sentence duplicates another.

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?

With no output schema, the description must convey what comes back, and it does at a high level (protocol findings, redacted issue report). However, for an analysis tool with an open-ended free-text input, the absence of any note on input limits, error behavior, or output format leaves the agent guessing on edge cases.

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?

Schema coverage is 100% and both parameters (text, dialect with an enum and default) are fully described in the schema, so the baseline is 3. The description reinforces that text is pasted raw SSE or trace contents but adds no dialect-detection semantics beyond what the schema already states.

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?

"Audit pasted SSE or trace JSONL offline" gives a specific verb (audit) and resource (SSE/trace JSONL text), and "pasted"/"offline" implicitly separates it from file-based siblings like audit_trace_file. It stops short of naming an alternative explicitly, so the differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

The words "pasted" and "offline" imply the context of use (content already in hand, no live endpoint), which hints at when to prefer it over audit_trace_file or a live probe. There is no explicit when-to-use/when-not-to-use statement or named alternative, leaving the selection to inference from the siblings.

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