Skip to main content
Glama

Random practice question

random_question
Read-only

Selects a random AI engineer or investment-banking interview question by topic and level for mock practice, with the answer hidden until requested.

Instructions

Pick a random question for mock-interview practice. The answer is hidden until you ask with get_question.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "random_question"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNo
topicNo
trackNoai-engineer or investment-banking. Omit for both.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuine non-obvious behavior: the answer is withheld and requires a separate get_question call, which an agent must know to complete the workflow. It says nothing about what happens when filters yield no matches, which is the main remaining gap.

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 use case, followed by the essential follow-up requirement. Nothing is redundant or padded.

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?

It covers the core behavior and the hidden-answer mechanic, and no output schema exists so return-shape detail is less critical. But for a filtering tool with two undocumented parameters and no stated empty-result behavior, the description is thinner than the tool's complexity warrants.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33% – only 'track' is documented, and its enum note ('Omit for both') lives in the schema rather than the description. The description never mentions the level or topic filters at all, so an agent reading it would not know it can narrow the random draw by difficulty or subject.

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 description gives a specific verb and resource ('Pick a random question') plus the use case (mock-interview practice), which is clearly distinct from get_question, list_topics, or search_questions. It doesn't explicitly state how it differs from search_questions, but the 'random' qualifier does most of that work.

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?

It names the context ('mock-interview practice') and points to get_question as the follow-up step for retrieving the answer, which is a useful workflow hint. However, there is no explicit statement about when to prefer this over search_questions or list_topics, so routing is implied rather than specified.

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