Skip to main content
Glama

OpenCollege

Get one field

get_field
Read-onlyIdempotent

This tool returns the national median and middle-half earnings for one field by credential, the number of programs and how many have a published four-year figure.

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": {
      "cip4": "<cip4>"
    },
    "name": "get_field"
  }
}

Input Schema

NameRequiredDescriptionDefault
cip4YesThe four-digit field code, as in the page address.
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.6/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 is covered. The description adds useful data-shape context, notably that only some programs have a published four-year figure, hinting at partial data coverage, but it says nothing about suppression, missing values, or behavior when no credential is supplied.

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 well-formed sentence that front-loads the primary return values and packs scope and payload into one clause with no filler. Nothing needs to be trimmed.

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?

With an output schema, full parameter documentation, and rich annotations, the definition is nearly complete for a two-parameter read tool. The only real gap is the unstated default behavior when the optional credential parameter is left out.

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%, with cip4's four-digit pattern and the full 1-8 credential ladder already documented in the schema. The description adds only the notion that results are broken out 'by credential,' and does not say what happens if the optional credential is omitted. Baseline 3 applies when the schema does the work.

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?

States a specific verb (returns) and resource (one field) and enumerates the payload: national median and middle-half earnings by credential, program count, and how many have a published four-year figure. That clearly separates it from list_fields, but it does not explicitly distinguish itself from earnings-oriented siblings such as get_earnings_test.

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?

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. Usage is only implied by the phrase 'for one field,' which suggests single-record lookup versus a listing tool, leaving the agent to infer the routing.

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