Skip to main content
Glama
Materioa

Materio MCP Server

Official
by Materioa

Get Materio PDF Content

fetch_pdf
Read-onlyIdempotent

Fetch and read full text of a Materio PDF using a direct URL or by specifying semester, subject, and topic. Retrieve study material to support answering questions.

Instructions

Fetch and read the full text content of a Materio PDF.

Downloads the PDF from the Materio CDN and extracts its text content so you can read and reason over it. Use this after searching/browsing to retrieve the actual study material.

You can provide EITHER a direct PDF URL (from a search result) OR the semester + subject + topic combination.

IMPORTANT: This tool is designed to help users study. When answering questions based on PDF content:

  • Use the PDF's own terminology and definitions

  • Cover all relevant points as expected in university exams

  • Structure answers clearly with proper headings

  • Include examples from the material when available

Args:

  • url (string, optional): Direct CDN URL of the PDF. If provided, semester/subject/topic are ignored.

  • semester (string, optional): Semester number (e.g. "1", "2", "3", "4", "5", "6"). Required if url is not provided.

  • subject (string, optional): Subject name exactly as listed in the resource library. Required if url is not provided.

  • topic (string, optional): Topic name exactly as listed in the resource library. Required if url is not provided.

Returns: The full extracted text content of the PDF, which may be long. The AI can then use this to answer questions.

Examples:

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoDirect CDN URL of the PDF. Takes priority over semester/subject/topic.
topicNoTopic name exactly as listed in the resource library.
subjectNoSubject name exactly as listed in the resource library.
semesterNoSemester number, e.g. '1', '2', '3', '4', '5', '6'.
Behavior4/5

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

Annotations already indicate readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the description adds value by noting the PDF is downloaded from the CDN and text extracted, and that the returned text may be long. No contradictions.

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?

The description is well-structured with clear sections for purpose, usage, args, returns, and examples. The 'IMPORTANT' section adds a bit of extra instruction on how to use the content, which might be unnecessary but doesn't harm clarity.

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?

The description covers the main workflow: how to specify inputs, what is returned (full text, potentially long), and includes examples. It lacks explicit error handling or confirmation of success, but given the simplicity and annotations, it is sufficiently complete.

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 baseline is 3. The description adds value by clarifying conditional requirements: 'Required if url is not provided' for semester, subject, topic. It also reinforces that url takes priority, which is already in schema but emphasized.

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 tool's purpose: 'Fetch and read the full text content of a Materio PDF.' It specifies the verb (fetch/read), resource (PDF), and distinguishes from siblings like search and get_resource by noting it retrieves actual study material after searching.

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 says 'Use this after searching/browsing to retrieve the actual study material,' providing context. It also explains the two input methods (direct URL or semester+subject+topic) and that URL takes priority. It doesn't explicitly list alternatives, but the context is clear.

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/Materioa/mcp-server'

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