Skip to main content
Glama

GoldCoach

Search Programs and Learning Units

search_programs_and_learning_units
Read-only

Which programs or courses match, and where? Words, a subject (CIP family, or unknown), a course subject prefix, a credential class, an award as published, and a school's state, city, type or UNITID answer with product cards (name, award, length and college when held, school and city, subject, checklist size, and what the program leads to through the CIP-SOC crosswalk) and the counts to refine by. Courses across every school need words of 3 or more characters; words held by very many courses need a state, city or school. Each row names its current FORM's wording source: source_url, capture_file, catalog_year and source_catalog_name are that one source's, never the record's whole span. A row whose record holds more than one form or more than one source also carries version_count, source_count, first_edition_seen and last_edition_seen, and one sentence saying so in words; a record with one form and one source carries none of them and reads exactly as it always has. The forms themselves, each with its own content and its own sources, come from the one-record get, never from a list.

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

Input Schema

NameRequiredDescriptionDefault
cipNoOptional: programs or learning units with this six-digit CIP code (e.g. 48.0508), a comma-separated list, or an array of codes
cityNoOptional city, one of a state answer's cities
codeNoOptional, courses only: a course code as printed, e.g. ZOO 2015; lists that code at every school, or within the state, city or school given
typeNoprogram (the default) or learning_unit
viewNoFor type=learning_unit: count returns filtered entity counts without fetching cards; details returns bounded pageable cards for all schools or selected state/school, combined with subject_code, CIP, title query and printed code. Omit for automatic shop behavior. Explicit view is not supported for type=program.
awardNoOptional award exactly as published, one of the answer's awards
limitNoOptional page size (default 10, at most 50)
placeNoOptional: a place the question names, read as a state (name or code), a city, or a school, e.g. Wyoming or Casper
queryNoWords: a program's name or award, or a course's title
stateNoOptional two-letter state, or an array of them
localeNoOptional, where the publish holds the College Scorecard's characteristics: only schools in this setting (NCES locale)
offsetNoOptional: the next_offset from a previous answer
sectorNoOptional school type as IPEDS labels it, e.g. public 2-year
unitidNoOptional: one school's IPEDS UNITID, or an array of them
subjectNoOptional CIP family (two digits, e.g. 51) or unknown, or an array of them
credentialNoOptional, programs only: a credential class, one of the answer's credential values (e.g. ceterms:AssociateDegree), or none; or an array of them
exam_creditNoOptional: only schools with a published rule granting credit for this exam program
online_onlyNoOptional, where the publish holds the College Scorecard's characteristics: only schools whose programs are all offered online
residentialNoOptional, where the publish holds the College Scorecard's characteristics: only primarily or highly residential four-year schools (Carnegie size and setting)
subject_codeNoOptional: a course subject prefix, e.g. NURS, one of the answer's subject codes. A course's own prefix as printed, or a prefix a program's checklist requires
school_offsetNoOptional: the next_school_offset from a previous answer, for the school facet's next page of schools
with_pathwaysNoOptional: only schools taking part in at least one pathway held
tuition_in_maxNoOptional: only schools whose in-state tuition and fees (College Scorecard) is at or under this many dollars a year
with_agreementsNoOptional: only schools with at least one transfer agreement held
on_campus_housingNoOptional: only schools that publish an on-campus room and board cost (College Scorecard)
operational_statusNoOptional: open or closed, by the school's operational status as the publish holds it. open keeps the schools that hold no status; closed keeps the schools that hold one, such as closed or merged. Each institution row, and each card's school, carries the operational_status held, null where none is
with_prior_learningNoOptional: only schools with a published prior learning policy or a published rule for credit for prior learning they receive
with_transfer_policyNoOptional: only schools with a published transfer credit policy
with_veteran_servicesNoOptional: only schools with veterans and military services held

Output Schema

NameRequiredDescriptionDefault
facetsNoThe refinements: each facet's values with their counts of held rows. The school facet is one page of schools_matching, each school with its title (name), sector and checklists held
publishNoThe data road's publish number
resultsNoThe product cards
contractYes
statementYes
portal_urlNoThe same view on the portal
understoodNoWhat was read: words, place (with candidates when several schools fit), the filters in force, question (frame, department, not_held words), lead (the product a page shows first), and match (step, words_used, stems, statement)
next_offsetNo
next_actionsNo
build_versionYesDeprecated: the same value as publish
census_clearedYes
total_matchingNo
union_statementNoSaid once when any card carries forms or sources: the full source list is in the structured data
schools_matchingNoHow many schools hold the matching set
next_school_offsetNoWhile schools of schools_matching remain past this page of the school facet: the school_offset of the next page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

With only readOnlyHint supplied, the description carries substantial behavioral context: cards versus counts, pagination via offset and school_offset, per-row source metadata, and multi-form/multi-source fields with their conditional presence. It also explains that a single-form/single-source row omits those fields and that full forms require get, with no contradiction of the annotation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The text front-loads the search purpose, but then becomes a dense run-on filled with jargon such as FORM's wording source, version_count, and first_edition_seen. Most clauses are informational, yet the structure is hard to parse and could be split or shortened without losing meaning.

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 29-parameter search with an output schema, the description covers important context: card contents, source provenance, counts, conditional version fields, and the boundary that full forms come from get. The schema and output schema fill in the remaining details, though the dense phrasing leaves some relationships between counts, cards, and paging less clear than they could be.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds domain meaning beyond the schema: subject is a CIP family or 'unknown', credential is a credential class, award is 'as published', and course queries have length and location constraints. It does not map every one of the 29 parameters, but it adds useful interpretation for several key filters.

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 opening 'Which programs or courses match, and where?' plus the filter list identifies a search over programs/learning units returning cards and counts. It is clear what the tool does, but it never names siblings such as find_programs or learning_units to distinguish scope.

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?

It gives a few operating rules, such as course words needing 3+ characters and broad words needing a state, city, or school, and says full forms come from the one-record get rather than a list. However, it does not state when to choose this tool over sibling searches like find_programs or learning_units, leaving routing incomplete.

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.