Skip to main content
Glama

Finish and score an interview

finish_interview
Idempotent

Close an interview session and trigger its scoring after user confirmation. This irreversible step ends questioning and charges scoring to the interview budget.

Instructions

Close the interview and have it scored. Irreversible — no more questions afterwards — and the scoring call is charged to the interview's budget, so the user is asked first.

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": {
      "session_id": "<session_id>"
    },
    "name": "finish_interview"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoOnly for clients without elicitation: set true after the user has explicitly agreed.
session_idYesThe interview's ID, as returned by start_interview or list_interviews.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing that the close is irreversible, that scoring consumes the interview's budget, and that the user is prompted before the charge. It does not describe what happens on a repeat call against an already-finished interview, which is relevant given idempotentHint=true and the 'irreversible' framing.

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 sentences, both earning their place: the action first, then the irreversible-plus-budget consequence. Nothing is padded and the risk information is front-loaded.

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 two-parameter mutation with annotations and no output schema, the definition covers the important behavioral facts (irreversibility, cost, confirmation). A minor gap is that it never hints at what scoring produces, which an agent finishing an interview will likely want to report back.

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%, so session_id and confirm are already fully documented, including confirm being for clients without elicitation. The description reinforces the confirmation flow ('the user is asked first') but adds no syntax or format detail beyond the schema; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource pair — close the interview and have it scored — and names the resulting state change (no more questions afterwards), which distinguishes it from read-only siblings like get_interview and from delete_interview's implied deletion.

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 is only implied: the 'no more questions afterwards' clause signals this is the terminal step after all questions are answered. It never explicitly contrasts with alternatives such as delete_interview (abandon without scoring) or get_interview (inspect without closing), so the agent must infer the routing.

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