Skip to main content
Glama

Search classwork

search_classwork
Read-only

Search post titles and text across all Google Classroom classes or one specific class by keyword to find relevant classwork and stream posts.

Instructions

Search post titles and text across your classes (or one class) for a keyword.

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_classwork"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
courseNoCourse: numeric id, a classroom.google.com/c/... link, or (part of) the class name
per_class_limitNoMax items scanned per topic (default 200)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful scope information: only titles and text are matched, not comments or attachments. It says nothing about result ordering, pagination, or what a hit looks like, which matter for a search tool.

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?

A single sentence with no filler, and the most important scoping fact (titles and text, across all or one class) is front-loaded. Nothing is wasted and nothing is buried.

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?

With three parameters, no output schema, and no annotations describing return values, the description should say roughly what comes back and how results are bounded. It covers what is searched but leaves result shape, ordering, and truncation behavior unexplained.

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 67%; course and per_class_limit already carry their own descriptions. The description only clarifies that query is a keyword matched against titles and text, adding modest meaning beyond the bare string type. It does not explain matching behavior (substring vs. token, case sensitivity) for the one undocumented parameter.

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 names a specific verb (search) and a specific resource and field scope (post titles and text), plus the scope of classes searched. An agent can distinguish it from list_classwork, which presumably enumerates rather than matches, without opening either 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?

The parenthetical '(or one class)' implies when to supply the course parameter, but there is no explicit guidance on when to prefer this over list_classwork, nor any statement of when-not to use it. Usage is inferable rather than stated.

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