Skip to main content
Glama

search_materials

Read-onlyIdempotent

Search indexed course materials to find matching excerpts with source pages or slides. The results flag missing coverage, so do not treat them as a complete campus search.

Instructions

이미 읽거나 색인한 자료 본문을 검색하고 근거 페이지·슬라이드와 발췌를 반환합니다. coverage에 빠진 파일이 표시되며 모든 학교 자료를 검색한 것으로 해석하지 마세요.

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
offsetNo
courseIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavioral context: it operates only over already-read or indexed material, returns page/slide-level evidence with excerpts, and results can be incomplete because uncovered files are flagged. Return granularity and coverage behavior are real value beyond the annotations.

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, no filler: the capability and its return value come first, the coverage caveat second. Both sentences carry information an agent needs.

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

Completeness2/5

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

With no output schema, four undocumented parameters at 0% coverage, and no explanation of pagination or course scoping, the definition is not complete enough to call this tool confidently. The coverage caveat helps, but the parameter and result-shape gaps remain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for four parameters (query, limit, offset, courseId), so the description carries the full burden — and it mentions none of them. It never explains that courseId narrows the search to a course or that limit/offset control pagination, leaving the agent to infer all parameter meaning from names and constraints alone.

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 description gives a specific verb and resource: it searches the body text of materials that have already been read or indexed, and it states what is returned (evidence pages/slides plus excerpts). It implicitly distinguishes itself from get_material/list_materials by scoping to content search, though it never names a sibling it is not.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied (search material contents to find supporting passages), and the coverage disclaimer ('files missing from coverage are indicated; do not treat this as searching all school materials') is a useful boundary. There is no explicit when-to-use-vs-alternative guidance, e.g. search_materials versus search_items or read_material.

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