Skip to main content
Glama

Oncourse

Search flashcards

oncourse_search_flashcards
Read-only

Search existing cards in this course. Select matching IDs then show them. Card creation and progress writes are unavailable.

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": {
      "sessionId": "<sessionId>",
      "searchQueries": "<searchQueries>"
    },
    "name": "oncourse_search_flashcards"
  }
}

Input Schema

NameRequiredDescriptionDefault
cardTypeNoall
pageSizeNo
sessionIdYes
searchQueriesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, closed-world, so the safety profile is covered. The description adds value beyond that by scoping results to the current course, indicating the output is a set of matching IDs rather than card content, and stating that creation and progress writes are not available from this tool.

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 with the core action front-loaded and no filler. The middle sentence ("Select matching IDs then show them") is efficient but slightly telegraphic, leaving ambiguity about which tool performs the "show" step.

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?

There is no output schema, and the description does hint that results are IDs rather than card bodies, which is the key return-value fact. However, with four undocumented parameters and no note on paging or result limits, an agent still has to guess at invocation details for a search tool of moderate complexity.

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% across all four parameters, so the description must carry the meaning and it does not. It never explains sessionId, the searchQueries array semantics (multiple queries? OR/AND?), the cardType enum values (all/user/premade/anki), or what pageSize controls.

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 and resource ("Search existing cards") plus scope ("in this course"), which is more precise than the bare title. It also implies a two-step flow ("Select matching IDs then show them") that separates it from the show/display siblings, though it never names that sibling explicitly.

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

Usage Guidelines4/5

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

It gives real context: search here, then hand the matching IDs to a display step, and it explicitly excludes creation and progress writes so the agent knows this tool will not mutate state. What is missing is a named alternative (e.g. which tool to call for showing results, or when to prefer lesson/quiz search).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.