Skip to main content
Glama
ryuxik
by ryuxik

gt_mechanism_posted_price_optimal

Compute an optimal posted price schedule for selling perishable inventory over a finite horizon, using backward dynamic programming to set prices based on remaining time and items.

Instructions

Gallego-van Ryzin posted-price (static p* + dynamic backward-DP schedule).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
buyer_arrival_priorYes
arrival_rate_per_secondYes
inventoryYes
horizon_secondsYes
n_simulationsNo
seedNo
Behavior2/5

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

With no annotations, the description must disclose behavior but only mentions a static price and DP schedule. It does not explain underlying assumptions (e.g., buyer arrival model), side effects, or whether the tool is deterministic or stochastic despite parameters like n_simulations and seed.

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?

The description is a single sentence, which is concise, but it lacks structure and fails to front-load key information. It is not overly verbose, but brevity does not compensate for missing details.

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

Completeness1/5

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

The tool has no output schema, no annotations, and a complex nested parameter. The description does not specify what the tool returns or how to interpret results, making it severely incomplete for an agent to use correctly.

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

Parameters1/5

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

The schema has 0% description coverage, and the tool description does not explain any parameter. The object parameter 'buyer_arrival_prior' is opaque, and optional parameters like 'n_simulations' and 'seed' are not clarified.

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

Purpose3/5

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

The description names the specific algorithm (Gallego-van Ryzin) and mentions posted-price with static price and dynamic schedule, indicating it computes optimal posted prices. However, it does not explicitly state the tool's purpose in a simple verb+resource form, and it assumes familiarity with the algorithm.

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 is provided on when to use this tool versus siblings like gt_auction_optimal_bid or gt_mechanism_gale_shapley. The description lacks context for when posted-price is appropriate.

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/ryuxik/gametheory-mcp'

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