Skip to main content
Glama

search

Find full-text matches within one course—pages, assignments, rubrics, modules, discussions, and files—using phrase, exclusion, type, date, regex, and fuzzy filters.

Instructions

Full-text search inside one course: pages, assignments with rubrics, modules, discussions, files. Operators: "phrase", -exclude, +required, OR, type:sida|uppgift|fil|modul|diskussion, filetype:pdf, intitle:word, before:YYYY-MM-DD, after:YYYY-MM-DD, plus regex/fuzzy toggles. source='mirror' searches a local mirror (fast, may be stale), 'api' fetches live from Canvas, 'auto' prefers the mirror. include_docs=true also searches the document text built by the docs tool.

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": {
      "course": "<course>",
      "query": "<query>"
    },
    "name": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
fuzzyNo
limitNo
queryYes
regexNo
courseYes
sourceNo
whole_wordNo
include_docsNo
case_sensitiveNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: it usefully discloses that the mirror can be stale, that 'api' fetches live, and that include_docs extends coverage to docs-tool text. It omits other behavioral facts an agent needs, such as default/pagination behavior for 'limit', whether regex/fuzzy are expensive, and what the results contain.

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?

Front-loaded with the core verb and scope, then dense but relevant operator and source detail. The operator enumeration is long but earns its place; the phrasing is slightly run-on in the second and third sentences.

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?

For a 9-parameter tool with no annotations and no output schema, the description covers the highest-value surface (query syntax, source modes) but leaves roughly half the parameters undocumented and says nothing about result shape or limits, so an agent still has gaps before invoking correctly.

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 description coverage is 0%, so the description must compensate, and it does so well for the most complex parameter: 'query' gets a full operator vocabulary (phrase, -exclude, +required, OR, type:, filetype:, intitle:, before:, after:) plus the enumerated type values. It also explains 'source' and 'include_docs', but leaves fuzzy, regex, whole_word, case_sensitive, and limit essentially unexplained beyond a passing 'regex/fuzzy toggles' mention.

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?

States a specific verb and resource with explicit scope: "Full-text search inside one course" followed by the exact content types searched (pages, assignments with rubrics, modules, discussions, files). An agent can tell this targets course-scoped content rather than a general or cross-course search without opening the schema.

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 context is implied by the scoping to a single course and the source-mode tradeoffs (mirror=fast/may be stale, api=live, auto=prefers mirror), which help an agent choose behavior. However, there is no explicit statement of when to prefer this tool over a sibling like db_fulltext or find_sources, nor any prerequisites or exclusions.

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