Skip to main content
Glama

OpenCollege

Get one program

get_program
Read-onlyIdempotent

This tool returns every published figure for one program. A program is one credential in one field at one school. The results include median earnings 1, 4, 5 and 7 years after finishing with the cohort and the count, the national figure for the field, the comparison with the Department's medians for high-school graduates, federal loan debt and awards.

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": {
      "opeid6": "<opeid6>",
      "cip4": "<cip4>",
      "credential": "<credential>"
    },
    "name": "get_program"
  }
}

Input Schema

NameRequiredDescriptionDefault
cip4YesThe four-digit field code, as in the page address.
opeid6YesThe school's six-digit federal ID (OPEID6), as in the page address.
credentialYesCredential 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.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile carries no burden here. The description adds real semantic context beyond that — the metric meanings (median earnings at 1/4/5/7 years, cohort counts, national field figure, comparison to high-school-graduate medians, loan debt, awards) and the qualifier 'published,' which hints that unpublished/suppressed values may be absent. Because an output schema exists, enumerating return fields is largely redundant, and nothing is said about behavior when a credential/field/school combination yields no published program.

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?

Two sentences, front-loaded with the core action and followed by the necessary definition of 'program.' The final sentence is a long list of return metrics that duplicates the output schema, which is the main source of waste, but the prose remains readable and free of filler.

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?

Given full schema coverage, an output schema, and complete annotations, the definition supplies the one thing structured fields cannot: what a 'program' means and what kinds of figures come back. It is close to complete for a simple three-key read; the remaining gap is not stating the outcome when no published program matches the supplied identifiers.

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% and each of the three required parameters is documented in the schema, including the full 1-8 credential code mapping and the pattern constraints. The description mentions no parameters at all, so it adds no meaning beyond the schema. The baseline of 3 applies when the schema does the heavy lifting.

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 gives a specific verb and resource ('returns every published figure for one program') and goes further by defining the domain term: 'A program is one credential in one field at one school.' That makes the single-record scope unambiguous. It does not, however, name or differentiate itself from siblings such as get_training_program or compare_programs, so the agent must infer that this is the single-program lookup rather than a search or comparison.

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 is only implied: the definition of a program as credential + field + school signals that all three identifiers are needed for a exact lookup, and the 'one program' framing implies a single-record retrieval. There is no explicit when-to-use versus when-not, and no routing to search_programs (to find identifiers) or compare_programs (for multiple programs), even though those are the natural alternatives for this dataset.

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