Skip to main content
Glama

OpenCollege

Search programs

search_programs
Read-onlyIdempotent

Find college programs by field, school, credential and state. This tool returns up to 10 programs with median earnings four years after finishing, or not published, and each program's page address. Name a field or a school.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_programs"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldNoField name or four-digit field code, for example nursing or 5138.
stateNoTwo-letter state code, for example CA.
schoolNoPart of the school's name.
order_byNoOne measure to order by: awards, earnings_4yr, earnings_1yr, debt or name.
credentialNoCredential level from 1 to 8: 1 undergraduate certificate, 2 associate's, 3 bachelor's, 4 post-baccalaureate certificate, 5 master's, 6 doctoral, 7 first professional, 8 graduate certificate.

Output Schema

NameRequiredDescriptionDefault
dataNo
notesNo
statusYes
sourcesNo
page_urlNo
release_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, closed-world, non-destructive behavior, so the bar is lower. The description still adds real context beyond them: a hard cap of 10 results, the presence of median earnings four years post-completion with an explicit 'not published' case, and inclusion of each program's page address. It does not mention whether the 10-result cap is paginable or what happens when filters are omitted.

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 action and filters before the return description. Every sentence carries information, though the phrase 'or not published' is slightly awkward and sits inside an already dense sentence about return values.

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?

This is a simple filtered-search tool with an output schema, so return values need not be spelled out at length. The description covers filters, the practical required input, the result cap, and a notable data-quality edge case, leaving only ordering and pagination unaddressed.

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 100%, including an enum for order_by and a full 1-8 credential legend, so the schema carries the semantics. The description restates the filter names but adds no syntax or format detail, and it omits order_by entirely even though that parameter materially changes results. Baseline 3 is appropriate.

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 opens with a specific verb and resource plus the filter dimensions: 'Find college programs by field, school, credential and state.' It also states the result shape (up to 10 programs with median earnings four years out and a page address). It never distinguishes itself from near-neighbors like search_training_programs or find_programs_for_career, so it stops short of a 5.

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 closing sentence 'Name a field or a school' is genuine usage guidance, implying that at least one of those two parameters should be supplied even though the schema marks everything optional. There is no guidance on when to prefer this over search_training_programs or find_programs_for_career, so the routing burden is left to inference.

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.

Resources