Skip to main content
Glama

list_departments

Discover all academic departments in the DIU Question Bank, enabling users to choose a department before searching for previous exam questions.

Instructions

Discover and list all academic departments available in the DIU Question Bank (e.g. CSE, EEE, BBA, Agricultural Science, English). Call this first when the user asks for previous questions.

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": "list_departments"
  }
}

Input Schema

NameRequiredDescriptionDefault
force_refreshNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses only that the result is a complete enumeration. It says nothing about read-only safety, caching/staleness, or what force_refresh actually changes, even though the presence of that flag implies a cached result set.

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, zero padding: the enumeration is stated first and the call-timing rule second. The examples are the only extra words and they earn their place by pinning down what a "department" is in this domain.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a low-complexity listing tool with an output schema already defined, the description covers purpose, scope, examples, and entry-order guidance. The only missing piece is force_refresh semantics, which is a minor omission against an otherwise self-sufficient definition.

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?

There is only one parameter (force_refresh) and schema description coverage is 0%, so the description needed to explain its effect and does not mention it at all. The baseline for a near-zero-parameter tool keeps this above a 2, but the single undocumented flag with an undocumented cache implication is a clear gap.

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 ("list all academic departments") and grounds it with concrete examples (CSE, EEE, BBA), so the agent knows exactly what will be returned. It does not distinguish itself from the sibling list_* tools (list_courses, list_semesters, list_exam_types), so the agent must infer that courses/semesters are separate calls.

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?

"Call this first when the user asks for previous questions" gives an explicit entry-point and ordering rule, which is real workflow guidance. It stops short of naming follow-up tools (list_courses, search_questions) or stating when-not to call it, so routing beyond the first step is left to inference.

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