Skip to main content
Glama

chat_with_transcript

Ask natural-language questions about a transcript and receive answers with timestamped source citations, so you can verify each claim against the original segments.

Instructions

Ask a natural-language question about a transcript. Uses RAG with source citations — the response includes which segments backed each claim, so the user can verify by timestamp.

Args: transcript_id: Numeric ID or slug. message: The question to ask. session_id: Optional, to maintain conversation context across multiple calls (the previous response includes a session_id you can pass here).

Returns: {"answer": str, "sources": [{"segment_id": int, "text": str, "start_time": float}, ...], "session_id": str}.

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": {
      "transcript_id": "<transcript_id>",
      "message": "<message>"
    },
    "name": "chat_with_transcript"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYes
session_idNo
transcript_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations at all, the description carries the full behavioral burden, and it does disclose the RAG mechanism, citation-backed answers, and the full return shape including session_id chaining. It omits operational behavior an agent would want — cost/latency, failure modes for an invalid transcript_id, or whether the transcript must be processed first.

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 purpose is front-loaded in one sentence, and the Args/Returns blocks are terse and scannable. The docstring scaffolding is slightly verbose but each line carries real information, so nothing meaningful could be cut without loss.

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 3-parameter tool with no annotations and no output schema, the definition covers all parameters plus an explicit return structure with field names and types, which is exactly what the missing output schema would otherwise provide. It falls short only on selection guidance relative to sibling transcript tools.

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 description coverage is 0%, so the description must compensate and largely does: it explains transcript_id accepts a numeric ID or slug, message is the question, and session_id is optional and obtainable from the previous response's session_id. The only weakness is that it never clarifies the string-vs-numeric ID typing discrepancy against the schema.

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 first sentence names a specific verb and resource — 'Ask a natural-language question about a transcript' — and adds the distinguishing mechanism (RAG with source citations). It is clear this is conversational Q&A rather than retrieval or summarization, though it never names siblings like summarize_transcript or analyze_transcript to draw the boundary explicitly.

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?

Usage context is implied: this is the tool for free-form questions, and session_id is described as the way to continue a conversation across calls. However, there is no statement of when to prefer this over summarize_transcript/analyze_transcript, and no preconditions such as the transcript needing to be already transcribed/indexed.

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