Skip to main content
Glama

MagicInterview: coach line

magicinterview_coach_line

Live-call coaching in one call: give the line that was just said and who said it; MagicInterview appends it to the conversation as a turn (saveTurn, default true) and returns what to say next. Returns action (compose, refine, continue or hold), answer (the words to say; empty when action is hold), cue, latencyMs and the saved turn id. Uses the same coach, Pro check, model routing and guards as the live app. Loop it for every new line during a call; pass the returned turnId again to retry a failed call without duplicating the line.

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

Input Schema

NameRequiredDescriptionDefault
lineNoAlias of text; send text.
saveNoAlias of saveTurn; send saveTurn.
textYesThe line that was just said. Aliases: message, question, line.
originNomanual
turnIdNoIdempotency key for the line; reuse it when retrying.
contentNoAlias of text; send text.
messageNoAlias of text; send text.
speakerNoWho said it: interviewer (them) or candidate (the user).interviewer
questionNoAlias of text; send text.
saveTurnNoAppend the line and the answer to the saved conversation. Alias: save.
coachModelNo
conversationIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only supply the generic safety profile (readOnlyHint=false, openWorldHint=true, destructiveHint=false), and the description adds real behavior: a turn gets persisted when saveTurn is true, response fields and their edge case (answer empty on hold), latency reporting, and the fact that the same Pro check, model routing and guards as the live app apply. The idempotency claim is explicitly scoped to reusing turnId, so it does not conflict with the non-idempotent annotation.

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-loaded with the core job in the first clause, then the return shape, then the looping/retry rule, with no filler sentences. It is dense and parenthetical in places, but every sentence carries information an agent needs.

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 12-parameter mutating tool with no output schema, the description compensates well by enumerating return fields, the hold/empty-answer case, and the auth/entitlement surface (Pro check, guards). A few parameters and the meaning of conversationId are left entirely to the schema, so it is strong but not exhaustive.

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 75%, and the description still adds meaning the schema lacks: turnId is an idempotency key to reuse on retry rather than a fresh id, saveTurn=true persists the line and answer, and speaker selects interviewer vs candidate. origin, coachModel and conversationId are not explained beyond the schema, keeping it out of 5 territory.

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?

States a specific verb and resource: given the last spoken line and its speaker, it appends the turn to the conversation and returns the next thing to say, including the returned field names (action, answer, cue, latencyMs, turn id). It does not explicitly contrast itself with the appending sibling, so the line between coaching and plain turn-append is left implicit, but the coaching framing is unmistakable.

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?

"Loop it for every new line during a call" plus the retry rule ("pass the returned turnId again to retry a failed call without duplicating the line") give clear operational context for when to call. There is no explicit when-not or named alternative, which keeps it from a 5.

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.