Skip to main content
Glama

OpenCollege

Compare programs

compare_programs
Read-onlyIdempotent

This tool returns two to four programs side by side. Each figure includes its cohort and count.

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": {
      "programs": "<programs>"
    },
    "name": "compare_programs"
  }
}

Input Schema

NameRequiredDescriptionDefault
programsYesTwo to four programs, each with opeid6, cip4 and credential.

Output Schema

NameRequiredDescriptionDefault
dataNo
notesNo
statusYes
sourcesNo
page_urlNo
release_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world behavior, so safety is covered. The description adds only that results come back side by side with cohort and count, which is largely redundant with the existing output schema; it says nothing about ordering, missing programs, or error behavior.

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 short sentences with no padding, and the core behavior is front-loaded. The second sentence is awkwardly worded ('figure', 'cohort and count'), which slightly undermines clarity despite the brevity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Output schema exists, so return-value explanation is not required, and the single parameter set is fully documented by the schema. However, for a comparison tool sitting among many search/get siblings, the description never clarifies when comparison is the right choice, leaving a meaningful gap.

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 the schema itself documents the array, item fields, and the 2-4 item bounds. The description repeats the cardinality limit but adds no meaning about opeid6, cip4, or credential values beyond what the schema provides, so 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?

States a specific verb and resource: returns two to four programs side by side, which conveys a comparison operation rather than a search. It does not differentiate itself from siblings like search_programs or get_program, and the phrase 'each figure includes its cohort and count' is vague about what a 'figure' actually is.

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

Usage Guidelines2/5

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

No guidance on when to use this instead of search_programs, get_program, or find_programs_for_career. The only constraint mentioned (two to four programs) duplicates the schema rather than explaining the selection context.

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