Skip to main content
Glama

Generate interview briefing

generate_interview_profile

(Re)generate the profile's interview briefing via the AI service and cache it. Slow and billable, and needs a plan with AI interview prep — check get_interview_profile first and only regenerate when it reports stale or has no result. Waits for the AI; a call while one is already running returns its GENERATING state instead of starting another. Success replaces the old briefing and discards its bullet deep-dives; an AI failure returns status FAILED and keeps the previous briefing. Returns the same shape as get_interview_profile.

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": {
      "id": "<id>"
    },
    "name": "generate_interview_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProfile id, from list_profiles.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations disclose only the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), while the description adds much more: cost and latency, concurrency semantics (a concurrent call returns GENERATING instead of starting another), destructive side effects on cached bullet deep-dives, and failure behavior that preserves the previous briefing. This is rich disclosure beyond structured fields. The only reason it is not a 5 is that it does not state permission or authorization requirements beyond the plan prerequisite. The 'discards bullet deep-dives' note sits slightly in tension with destructiveHint=false, but that annotation concerns irreversible deletion, whereas what happens here is cache regeneration, so this is not a genuine contradiction.

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?

The description is dense but every sentence earns its place: cost, prerequisite, pre-check, concurrency, side effects, and return shape. It is front-loaded with the operation, then the guardrails, then the failure/replace semantics.

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?

There is no output schema, so the description compensates by stating that the return shape is the same as get_interview_profile and by describing the FAILED status. Combined with the concurrency and replacement semantics, an agent has enough to call it correctly and interpret results. A slight gap remains in seeing the exact response fields, which must be inferred from the sibling read tool.

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 the single `id` parameter is already documented as the profile id from list_profiles. The description adds no further meaning about the identifier format, its role, or whether it must own the briefing. Baseline is appropriate when the schema does the work.

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?

The description opens with a specific verb and resource, '(Re)generate the profile's interview briefing via the AI service and cache it', and explicitly positions itself against the sibling get_interview_profile. An agent can distinguish this write/regeneration path from the read path without opening either schema.

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

Usage Guidelines5/5

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

The description gives an explicit precondition (a plan with AI interview prep), a mandatory pre-check (call get_interview_profile first), and an exact trigger condition (only regenerate when it reports `stale` or has no result). It also names a cost-based reason to avoid unnecessary calls, which is the kind of when-not guidance agents need.

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