Skip to main content
Glama

OpenCollege

Compare with the earnings benchmark

get_earnings_test
Read-onlyIdempotent

This tool returns one program's published four-year median, the Department's median for high-school graduates in the school's state and in the nation, and the difference in dollars. This is not an official test result.

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

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 readOnly, idempotent, non-destructive, and closed-world, so the safety profile is fully covered. The description adds a data caveat ('This is not an official test result') and names the value components, but that disclaimer is vague — it does not say what the figures represent officially, how cohorts are defined, or whether values can be suppressed for small programs. Useful but thin beyond the annotations.

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 payload listed before the caveat, so the essential information is front-loaded. There is mild redundancy in enumerating the three returned figures when an output schema already exists, but no 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?

With an output schema, full parameter documentation, and annotations covering safety, the description only needs to convey purpose and any caveats — both of which it does. The residual gap is routing: nothing tells an agent why to pick this over compare_programs for benchmark-style questions.

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 patterns and a full credential enumeration (1-8) documented inline, so the schema carries the parameter burden. The description only implies that the three parameters jointly identify 'one program'; it adds no format, binding, or matching-caveat detail beyond the schema. Baseline 3 applies.

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?

Uses a concrete verb ('returns') with a specific payload: a program's four-year median earnings, the state and national medians for high-school graduates, and the dollar difference. That is enough for an agent to distinguish this benchmark-comparison lookup from generic siblings like get_program or get_school, though it never names those siblings explicitly.

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: an agent can infer it should call this when it needs earnings measured against a benchmark. There is no statement of when to prefer this over get_program, compare_programs, or search_programs, and no prerequisites (e.g., that a valid OPEID6/CIP4 pair must already be known) are stated.

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