Skip to main content
Glama

Compare Schools

scorecard_compare_schools
Read-only

Side-by-side comparison of the first five distinct normalized school IDs, accepting up to 1,000 raw IDs. Remaining IDs are unprocessed; request them separately. Prices, debt, completion, earnings, and repayment use competition ranks with shared ties when at least two distinct schools are found. Admissions and aid participation, shared OPEID6 outcomes, and mixed-period price rows are unranked. Topics: costs, admissions, outcomes, aid. Use scorecard_get_school for full profiles.

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": {
      "ids": "<ids>",
      "topic": "<topic>"
    },
    "name": "scorecard_compare_schools"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes2–1,000 raw school IDs; first five distinct normalized IDs compared.
topicYesComparison topic: costs, admissions, outcomes, or aid.

Output Schema

NameRequiredDescriptionDefault
rowsNoComparison rows — one per metric, with per-school values and ranks.
errorNoPresent when the call failed. Absent on success.
topicNoThe comparison topic used.
noticeNoMissing records, certification, or comparison notices.
schoolsNoSchools in the comparison set, in the same order as the ids input.
summaryNoBrief interpretive summary highlighting the most notable relative differences.
missing_idsNoProcessed IDs without records.
unprocessed_idsNoDistinct normalized IDs beyond the five-school serving cap.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedOutput schema / properties / notice / description
      Previous value: -"Warning if some requested IDs returned no record."New value: +"Missing records, certification, or comparison notices."
    • changedOutput schema / properties / rows / items / properties / values / items / properties / rank / description
      Previous value: -"Rank within this comparison set (1=best)."New value: +"Competition rank for eligible outcome or price rows with at least two distinct found schools (1=best)."
    • addedOutput schema / properties / schools / items / properties / operating
      Added value: +{
      +  "description": "Current operating certification. False means the institution lacks current certification.",
      +  "type": "boolean"
      +}
  2. Changed7 schema fields changed
    • changedInput schema / properties / ids / description
      Previous value: -"Array of 2–5 school unit IDs to compare."New value: +"2–1,000 raw school IDs; first five distinct normalized IDs compared."
    • changedInput schema / properties / ids / maxItems
      Previous value: -5New value: +1000
    • addedOutput schema / properties / missing_ids
      Added value: +{
      +  "description": "Processed IDs without records.",
      +  "items": {
      +    "type": "number"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / rows / items / properties / values / items / properties / basis
      Added value: +{
      +  "description": "Period of an effective price.",
      +  "enum": [
      +    "academic_year",
      +    "program_year"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / schools / items / properties / metric_scope
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Earnings, debt and repayment are pooled at OPEID6; completion is campus-specific.",
      +  "properties": {
      +    "completion": {
      +      "const": "campus",
      +      "description": "Completion is campus-specific.",
      +      "type": "string"
      +    },
      +    "debt": {
      +      "const": "opeid6",
      +      "description": "Debt is OPEID6-pooled.",
      +      "type": "string"
      +    },
      +    "earnings": {
      +      "const": "opeid6",
      +      "description": "Earnings are OPEID6-pooled.",
      +      "type": "string"
      +    },
      +    "repayment": {
      +      "const": "opeid6",
      +      "description": "Repayment is OPEID6-pooled.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "earnings",
      +    "debt",
      +    "repayment",
      +    "completion"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / schools / items / properties / ope6_id
      Added value: +{
      +  "description": "Provider OPEID6 identifier, preserving leading zeros.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / unprocessed_ids
      Added value: +{
      +  "description": "Distinct normalized IDs beyond the five-school serving cap.",
      +  "items": {
      +    "type": "number"
      +  },
      +  "type": "array"
      +}
  3. Changed3 schema fields changed
    • addedOutput schema / properties / rows / items / properties / values / items / properties / availability
      Added value: +{
      +  "description": "Available number, unavailable with unknown cause, or confirmed privacy suppression.",
      +  "enum": [
      +    "available",
      +    "unavailable",
      +    "privacy_suppressed"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / rows / items / properties / values / items / properties / suppressed / description
      Previous value: -"True when data is unavailable for this school/metric."New value: +"True only for explicit provider privacy markers."
    • changedOutput schema / properties / rows / items / properties / values / items / required
      Previous value: -[
      -  "school_id",
      -  "suppressed"
      -]New value: +[
      +  "school_id",
      +  "suppressed",
      +  "availability"
      +]
  4. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint it discloses the truncation behavior an agent must plan around (silent dropping of IDs past five distinct schools) and the ranking semantics of the result: competition ranks with shared ties for costs/debt/completion/earnings/repayment, and explicitly unranked categories (admissions, aid participation, shared OPEID6 outcomes, mixed-period price rows). These are non-obvious behavioral traits that materially affect interpretation of the output.

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?

Front-loaded with the core behavior and limit, and no sentence is filler. It is dense with domain jargon ('shared OPEID6 outcomes', 'mixed-period price rows') that may be opaque without prior context, which costs a point but not efficiency.

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 annotation coverage, and a complete parameter schema, the description supplies exactly the missing behavioral layer: input cap, truncation, and ranking rules. The only shortfall is that the ranking list and unranked list are terse and unexplained, leaving some interpretation to the reader.

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%, so the schema already documents both ids and topic, including the 'first five distinct normalized IDs' rule that the description restates. The description adds only limited extra meaning beyond that, mainly the consequence that leftover IDs are unprocessed. Baseline 3 is appropriate given the schema carries the parameter detail.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Side-by-side comparison of ... school IDs') plus the exact scope: up to 1,000 raw IDs but only the first five distinct normalized IDs. It also names the sibling to use for the adjacent need ('Use scorecard_get_school for full profiles'), so an agent can tell it apart from scorecard_get_school and scorecard_search_schools without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete operating guidance: at most 1,000 raw IDs, only the first five distinct normalized IDs are processed, and remaining IDs must be requested separately. It routes full-profile lookups to scorecard_get_school. It does not explain when to prefer this over scorecard_value_analysis or scorecard_get_earnings for overlapping topics, but the context is clear enough to act on.

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.