Skip to main content
Glama

AI Wisdom

Practice question with explanation

practice_question
Read-only

Free mock exam questions. id accepts the certification id or exam code (for example "AIF-C01"). With id and number: the question, options, answer and full explanation (exam objective, why the exam asks it, concept, clues, trap, why each wrong option fails, sources). With a query: free questions on that topic, without answers, in one exam or, with no id, across every exam. With id alone: every free question, filterable by domain, 10 at a time (nextOffset pages on). Pro questions return only their link. With chosen (the visitor's letters), it grades their answer: use grading.correct, never your own judgement. Use to grade a quiz answer or explain a question; to pick a quiz question use quiz_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": "practice_question"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoCertification id, exam code (for example "AIF-C01") or short name. Leave empty with a query to search every exam.
queryNoFind free practice questions on a topic, for example "chunking" or "guardrails". Returns matches without answers.
chosenNoThe visitor's answer to question number, as letters ("B" or "A, C"). The result says whether it is correct; use that, never your own judgement.
domainNoOnly questions from this exam domain (part of its name is enough). Needs id.
numberNoQuestion number, as in /mock-exam/<number>. Returns that question with its answer and full explanation, when it is free. Needs id.
offsetNoSkip this many results, to page through a long list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=true, openWorldHint=false) and the description adds real behavioral context: pro questions return only a link, query results come without answers, listing is 10 at a time with offset paging, and grading must be taken from the response. The reference to 'nextOffset' is a response field the agent cannot see anywhere in the schema, which is a small ambiguity but doesn't undermine the disclosure.

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 and dense, with the primary capability first and mode-by-mode clauses after; nearly every clause carries information (free vs pro limits, answers withheld on query, paging). The parenthetical enumerating explanation contents ('exam objective, why the exam asks it, concept, clues, trap...') is the one stretch that could be trimmed.

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 six-parameter, no-output-schema tool the description is nearly complete: it covers return shape per mode, answer-withholding, pro-question limits, and pagination. The one gap is the all-defaults call, where neither the schema nor the description says what happens.

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 100%, so each parameter is already documented; the description's added value is the combination semantics that the schema cannot express (id alone vs id+number vs query vs chosen, and number needing id). It adds genuine meaning beyond per-field descriptions, though the no-parameter case (empty call) is left undefined.

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 and resource ('free mock exam questions') and then enumerates four parameter-mode behaviors (id+number, query, id alone, chosen) so an agent knows exactly what each call shape yields. It explicitly distinguishes itself from the sibling quiz_question for the adjacent job of picking a question.

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?

Gives explicit routing: 'Use to grade a quiz answer or explain a question; to pick a quiz question use quiz_question.' It also tells the agent to trust the returned grading.correct rather than its own judgement, which is a concrete when/how rule rather than vague context.

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