Skip to main content
Glama

Search Course Content

search_course_content
Read-only

Search a Canvas course for relevant content by keyword across pages, assignments, discussions, and announcements. Get targeted results to find what you need.

Instructions

Search for content within a course. Searches pages, assignments, discussions, and announcements by keyword.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
course_idYesThe Canvas course ID
search_termYesThe keyword or phrase to search for
content_typesNoContent types to search. Defaults to all types: pages, discussions, assignments, announcements.
Behavior3/5

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

Annotations already declare readOnlyHint: true, and the description adds the specificity of searching four content types. It does not contradict annotations, but it discloses little beyond that. The openWorldHint is not addressed, and no return behavior or pagination details are provided.

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?

The description is a single sentence that is front-loaded with the primary action ('Search for content within a course') and contains no superfluous information. Every word contributes value.

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 simple search tool with full schema coverage and read-only annotations, the description is largely complete. It states the scope (within a course) and the content types searched. It omits return format, but that is not essential for a search tool. The tool is straightforward and the description covers the essential facts.

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 coverage is 100% with descriptions for all three parameters. The description adds no additional meaning beyond what the schema already provides (e.g., content_types enum is already listed). Baseline 3 is appropriate.

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: 'Search for content within a course' and enumerates the content types searched (pages, assignments, discussions, announcements). This distinguishes it from sibling tools like list_pages or view_course_structure, which are for listing or viewing structure rather than keyword search.

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?

The description implies when to use the tool (when searching for content by keyword) but does not explicitly mention alternatives or exclusions. It provides clear context (within a course) but no guidance on when not to use it or when to prefer other tools like list_* functions.

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/bruchris/canvas-lms-mcp'

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