Skip to main content
Glama

get_prerequisites

Retrieve all prerequisite modules with full details for a given module. Helps students identify missing background knowledge before starting a new topic.

Instructions

Get the prerequisite modules for a given module, with full details for each.

Use this when a student asks 'what should I know before studying X?' or seems to be missing background knowledge.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
module_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It implies a read operation with no destructive effects, but does not disclose any permissions, rate limits, or details about 'full details'. It adds minimal transparency beyond the basic function.

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 two sentences: one functional statement and one usage guideline. It is front-loaded with the core purpose and wastes no words.

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 simple read tool with one parameter and an output schema, the description covers the essential aspects: what it does and when to use it. It is slightly lacking in behavioral details, but overall complete for its complexity.

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 0%, but the description links the single parameter 'module_id' to the tool's purpose by saying 'for a given module'. This adds meaning beyond the schema, compensating for the lack of parameter description.

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 clearly states the verb 'Get', the resource 'prerequisite modules', and the scope 'for a given module'. It also provides a usage example that distinguishes it from siblings like get_module or get_course_overview.

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?

The description explicitly states when to use the tool: when a student asks about prerequisites or seems to lack background knowledge. It does not mention when not to use or provide alternatives, but given the specific scenario, it is clear enough.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dataflowr/dataflowr-tools'

If you have feedback or need assistance with the MCP directory API, please join our Discord server