Skip to main content
Glama

Buy Semester Pass

buy_semester_pass
Destructive

Buy a Fold Semester Pass for a college student at UCLA, USC, UC Berkeley, or UCSF. The PURCHASER (often a parent) provides their own name + email for the receipt, plus the student's name + email. Returns a Stripe Checkout URL — the purchaser must visit it to complete payment. Once paid, the student gets a separate email with an activation link to fill in their dorm details. campusId, termId and pricing come from list_campuses. Pricing varies by campus and term; the response echoes the priceCents.

Input Schema

NameRequiredDescriptionDefault
campusYesCampus ID from list_campuses.
isGiftNoDefault true. Set false only if the purchaser IS the student.
termIdYesTerm ID from list_campuses (e.g. "fall_2026").
frequencyYesPickup cadence. WEEKLY is the most common choice.
giftMessageNoOptional short message displayed to the student in the activation email.
studentEmailYesStudent email — .edu strongly preferred so the activation link reaches their school inbox
purchaserNameYesFull name of the purchaser (parent/sponsor) — appears on the receipt
idempotencyKeyNoOPTIONAL — UUID for safe retry. Identical keys return the EXISTING pass + checkout URL instead of creating a duplicate. Recommended for production agents.
purchaserEmailYesEmail of the purchaser — Stripe receipt + thank-you confirmation go here
studentLastNameYesStudent last name
studentFirstNameYesStudent first name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: it returns a Stripe Checkout URL that the purchaser must visit, the student receives a separate activation email, and pricing varies by campus/term with priceCents echoed. It does not explain why destructiveHint is set or any auth/permission requirements, keeping it short of 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences, front-loaded with the action and scope, each contributing distinct information (campuses, purchaser/student roles, checkout flow, pricing source). Slightly dense 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?

For an 11-parameter purchase tool with no output schema, it covers the end-to-end flow and what is returned (checkout URL, priceCents echo) plus the list_campuses dependency. Minor gaps remain around failure/retry behavior and the significance of the destructive annotation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema coverage the baseline is 3, but the description adds meaningful meaning by explaining the two-party model (purchaser vs student) and the list_campuses dependency for campus/term IDs, which helps an agent map its inputs correctly.

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+resource ('Buy a Fold Semester Pass') and immediately scopes it to four named campuses and a college-student use case. It clearly distinguishes itself from siblings like get_semester_pass and activate_semester_pass by describing the purchase-and-checkout action.

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?

Explicitly routes the agent to list_campuses for campusId, termId, and pricing, and clarifies the purchaser-vs-student split. However, it never states when NOT to use this tool or how it differs from adjacent actions such as apply_promo_code or book_my_pickup, so it lacks explicit exclusions.

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