Skip to main content
Glama

StudyMate MCP

Get material content

get_material_content
Read-only

Read supported text or PDF content for a StudyMate material. Prefer a material id from search_materials; use its direct Cloudflare contentUrl only when needed. The response includes the primary StudyMate /dashboard page (or /question-paper for papers) and any direct file URL as a secondary link.

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

Input Schema

NameRequiredDescriptionDefault
urlNoDirect contentUrl from search_materials when you need to fetch a file directly. Prefer materialId and the returned StudyMate page link.
maxCharsNoMaximum characters of extracted text to return. Defaults to 20000.
materialIdNoMaterial id, StudyMate file path, file name, SHA, or other identifier returned by search_materials.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered; the description adds that the response carries a primary StudyMate dashboard/question-paper link plus a secondary direct file URL, which matters because there is no output schema. It does not say what happens for unsupported file types or on fetch failure, which keeps it below a 5.

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?

Three short sentences, front-loaded with the purpose, then the source preference, then the return shape; there is little filler. The return-shape sentence is longer than strictly necessary but earns its place given the absence of an output schema.

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 read-only, three-optional-parameter fetch tool with no output schema, the description covers purpose, which identifier to prefer, and what comes back. Gaps remain around unsupported-content handling and failure modes, but an agent has enough to call it correctly.

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?

Schema description coverage is 100%, so all three parameters are already documented in the input schema, setting the baseline at 3. The description reinforces the materialId-over-url preference but adds no format or fallback detail beyond what the schema text already says.

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 definition names a specific verb and resource ('Read supported text or PDF content for a StudyMate material') and bounds the scope to text/PDF, so an agent knows exactly what it fetches. It references search_materials only as a source of identifiers rather than contrasting behavior with sibling read tools such as get_syllabus, so differentiation is good but not complete.

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?

It states an explicit preference order: use a materialId from search_materials, and use the direct Cloudflare contentUrl 'only when needed'. That is real when-to-use guidance rather than a bare restatement. The condition 'only when needed' is left somewhat undefined, and no situation is excluded outright.

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