Skip to main content
Glama

ge_combinations

Read-onlyIdempotent

Finds course combinations that satisfy open GE, SF State Studies, and American Institutions requirements with the fewest courses, listing eligible courses and examples for each open requirement.

Instructions

Up to 8 ways (3 when more than 5 are open) to finish the open GE, SF State Studies and American Institutions requirements that one course can fill, fewest courses first, from courses that ran in the last year where that covers them (overlaps lists every course that counts for two or more); the first is the fewest a bounded search found, not a proven minimum: one course covering several (4UD + Environmental Sustainability + Global Perspectives), two that split them, or one each. Each part says what one course covers, how many courses cover exactly that (options), and examples (ready first, then recently offered); the parts can go in different terms. courses_that_fit: per open requirement, every course the student can take for it. Pass the build_plan output as plan so planned courses count; readiness is at each requirement's slot term in it (by_term: one term for all).

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": {
      "profile": "<profile>"
    },
    "name": "ge_combinations"
  }
}

Input Schema

NameRequiredDescriptionDefault
planNo
by_termNo
profileYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.2.0
    • addedInput schema / $defs / Profile / properties / dpr_seen
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / $defs / Profile / properties / dpr_unit_offsets
      Added value: +{
      +  "additionalProperties": {
      +    "type": "number"
      +  },
      +  "type": "object"
      +}
    • addedInput schema / $defs / Semester / properties / max_units
      Added value: +{
      +  "type": "number"
      +}
  2. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, closed-world), and the description adds meaningful behavior beyond them: a bounded search cap (8, or 3 when more than 5 requirements are open), a one-year recency window on courses, and the candid caveat that the first result is the fewest found by bounded search, not a proven minimum. That caveat is exactly the kind of result-quality disclosure an agent needs. It does not describe cost/latency or failure modes, so not a 5.

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?

Every clause carries information, but it is delivered as a three-sentence wall with stacked parentheticals ("(4UD + Environmental Sustainability + Global Perspectives)", "(overlaps lists every course...)"), mixing behavior, output shape, and parameter advice in one breath. The core purpose is at the front but is nearly buried; splitting behavior from output description would help. No filler, though.

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

Completeness2/5

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

No output schema exists, so the description must carry the return contract, and it only loosely does (parts, options counts, examples, overlaps, courses_that_fit). Meanwhile the most complex input, the nested Profile object, gets zero explanation despite 0% schema coverage. For a tool of this complexity the definition leaves an agent under-equipped on inputs.

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 0% against three parameters, one of which (profile) is a large nested object with no documentation anywhere. The description rescues plan (use build_plan's output) and by_term (one term for all slots), but says nothing about profile's expected contents or how plan interacts with completed coursework. Partial compensation only.

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 concrete verb+resource: generate up to 8 combinations of courses that satisfy open GE / SF State Studies / American Institutions requirements, ordered fewest-courses-first. It scopes the source set ("courses that ran in the last year") and names a sibling input ("build_plan output as plan"), so an agent can tell it is a GE-combination solver rather than a planner or course lookup. Dense jargon and run-on phrasing keep it short of a 5.

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?

Gives real operating context: pass build_plan's output as plan so planned courses count, readiness is evaluated at each requirement's slot term, and by_term pins one term for all. What is missing is when NOT to reach for it (e.g. versus build_plan or get_roadmap) and any prerequisite about first having open requirements identified.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.