Skip to main content
Glama

search

Read-only

Find plain terms or quoted phrases across study wiki content and indexed OCR text, with optional course scoping; results indicate OCR coverage and skip unopened scans.

Instructions

Search plain terms/quoted phrases in study wiki content and already obtained OCR text.

Omitting course_id searches škola (including state-exam materials). A course search also checks its own index. Results declare partial OCR coverage; unopened scans are not indexed.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
cursorNo
refreshNo
course_idNo

Output Schema

NameRequiredDescriptionDefault
itemsYes
scopeYes
totalYes
metadataYes
next_cursorYes
ocr_indexed_pagesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld and non-destructive, so the safety profile is covered. The description adds real behavioral context beyond that: results declare partial OCR coverage, unopened scans are absent from the index, and a course search also queries that course's own index. It stops short of describing ranking or result shape.

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 core purpose and followed by scoping and coverage caveats. Minor awkwardness ("škola", a misspelling of "omitting") costs little but keeps it off a 5.

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

Completeness3/5

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

An output schema exists, so return-value explanation is not required, and scoping is well covered. However, with five parameters at 0% schema coverage, the unexplained refresh and cursor semantics leave an agent guessing about pagination and index refresh behavior.

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 0% across five parameters, so the description must carry the load. It clarifies query syntax (plain terms/quoted phrases) and the semantics of omitting course_id, but says nothing about limit, cursor or refresh, leaving three parameters undocumented anywhere.

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?

It names a specific verb and resource: plain-term/quoted-phrase search over study wiki content plus already-obtained OCR text. The scope rule (omitting course_id searches škola) further distinguishes it from a course-scoped search, though it never names a sibling tool for contrast.

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?

Use is implied through the course_id scoping rule and the caveat that unopened scans are not indexed, which tells an agent when results will be incomplete. There is no explicit when-to-use-versus-alternatives guidance (e.g., versus get_page or read_attachment for full text).

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