Skip to main content
Glama

Last Price

get_learned_elasticity_curve

Read-onlyIdempotent

See how buyers react to price, the data behind the chart on the learned pricing page: quotes with a reported outcome grouped into bins of quoted over current price (counts only), the fitted acceptance line with its 95% band, what a 10% raise does to sales by that line, and how the estimate moved over time. Covers the pooled workspace estimate, or one product with product_id. Owners and admins only. Needs a Last Price credential with routing read scope.

Input Schema

NameRequiredDescriptionDefault
product_idNoOne product. Omit for the pooled workspace estimate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds real context beyond that: an authorization requirement (owners and admins only) and a credential/scope prerequisite (Last Price credential with routing read scope), plus the note that bin data is 'counts only'. That prerequisite disclosure is exactly the kind of behavioral detail annotations cannot express.

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 purpose and returned components are front-loaded in the long first sentence, with scope, permissions, and credentials trailing as short sentences. It is dense but every clause carries information; the enumeration of four outputs is long but justifies itself for a tool with no output schema.

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?

There is no output schema, so the description must carry the return-value burden, and it does: it names the four components the caller will receive. Combined with the stated auth and credential requirements, an agent can decide and call correctly. It stops short of describing format or shape of the response, which leaves a small 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 single parameter's schema already says 'Omit for the pooled workspace estimate', which the description then repeats almost verbatim. The description adds no syntax, constraints, or lookup guidance beyond what the schema provides, so the 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?

The description states a concrete resource (the learned elasticity curve) and enumerates what it contains: quoted-vs-current price bins, the fitted acceptance line with 95% band, the effect of a 10% raise, and the estimate's history over time. That is more than a restatement of the name. It does not, however, explicitly distinguish itself from the many related pricing read tools (get_learned_pricing, get_pricing_analysis, get_price_exploration) by name.

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?

It gives conditional scope: 'the pooled workspace estimate, or one product with product_id', which tells the agent how to choose between the two modes of this tool. It also notes 'Owners and admins only', a gating condition. But there is no when-to-use/when-not guidance relative to the sibling pricing tools, so the agent must still infer whether to call this or get_pricing_analysis.

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