Skip to main content
Glama

estimate_usc_retail_swipe_value

Estimate the value of using a USC retail meal swipe for your order, considering cart total, meal period, and optional balances, to decide if it's a good payment choice.

Instructions

estimate whether a USC retail meal swipe is a good payment choice.

Args: cart_total_cents: Cart total in cents from get_cart_payment_options meal_period: breakfast, lunch, dinner, or late_night swipes_remaining: optional known remaining retail swipes meal_plan_dollars_cents: optional known Meal Plan Dollars balance carolina_cash_cents: optional known CarolinaCash balance

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cart_total_centsYes
meal_periodYes
swipes_remainingNo
meal_plan_dollars_centsNo
carolina_cash_centsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations provided, so description carries full burden. It states the estimation behavior and lists input parameters, but does not describe the output format or side effects. Basic behavior is clear, but lacks detail on return value (though output schema exists).

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?

The description is front-loaded with a single-line purpose, followed by a concise 'Args' list. No extra fluff, though the argument descriptions could be more integrated. Efficient overall.

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?

Given the output schema exists, the description need not explain return values in detail. However, it lacks context on limitations (e.g., what constitutes 'good'), assumptions, or usage constraints. Leaves several questions unanswered for an AI agent.

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 coverage is 0%, so description must add meaning. The 'Args' section explains each parameter briefly (e.g., meal_period values, optional fields). This adds value beyond the bare schema, but could be more precise (e.g., source for optional params).

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?

The description clearly states the tool's purpose: 'estimate whether a USC retail meal swipe is a good payment choice.' It uses a specific verb and resource, and this function is distinct from all sibling tools (no other estimation tool).

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?

The description implies usage when deciding payment options for a cart and references a related tool (get_cart_payment_options), but does not explicitly state when to use this vs alternatives or mention any exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sawyershoemaker/grubhub-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server