accueil / serveurs / Finance & Paiement / ai.last-price/pricing
ai.last-price/pricing
serveur MCP (Model Context Protocol) · lastprice-mcp 0.5.0
Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur.
Est-ce que ai.last-price/pricing est sûr ?
Au dernier audit MCP Hub, le serveur MCP « ai.last-price/pricing » est classé « Non encore testé ». Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur. Le verdict est réévalué en continu ; consultez la fiche pour l'état à jour.
Méthode : MCP Hub analyse la description de chaque outil (couche 1) et, pour le verdict fort, exécute le serveur dans une micro-VM isolée avec leurres et réseau bloqué (couche 2). On publie des noms et des compteurs, jamais le contenu brut renvoyé par un outil.
Les 21 outils
- browse_catalog≈ 39 tokens
Browse the public marketplace catalog of pricing functions.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "browse_catalog", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - compute_price≈ 726 tokens
Compute a price for a product/context via the Last Price Pricing Compute Network. Returns the computed price, the function that produced it, token metering/cost, and a `trace` listing each stage the request passed through (cache, route, execute, fallback, constrain, meter). For a competitor offer, put competitor_price, competitor_currency and competitive_action in metadata, then supply min_price or unit_cost with target_margin_pct. Missing business inputs return an error naming them.
Paramètres, retour & exemple (14)
Paramètresgeo· string · optionnel
Optional geography hint, e.g. US.currency· string · requis
Three-letter ISO currency code, e.g. USD.metadata· object · optionnel
Optional context. For competitive pricing: competitor_price, competitor_currency and competitive_action (match or undercut); undercut requires undercut_pct. Confirm product comparability before calling.max_price· number · optionnel
Optional maximum acceptable price.min_price· number · optionnel
Optional minimum acceptable price. A competitive offer needs this or a declared unit_cost and target_margin_pct.unit_cost· number · optionnel
What the work costs you. It lets lastprice/cost-plus price with no current_price, which is the usual case when pricing a task you are about to run. Routing picks a function that can use it; to require cost-plus, pass its UUID from list_functions as function_id.product_id· string · optionnel
Optional identifier of what is being priced.function_id· string · optionnel
Optional explicit pricing function UUID to use.product_type· string · optionnel · saas | ecommerce | marketplace | digital | api | custom
Optional category. Defaults to "custom".current_price· number · optionnel
The current or reference price. Optional: functions that price relative to an incumbent need it, but lastprice/cost-plus prices from unit_cost instead.customer_segment· string · optionnel
Optional segment, e.g. enterprise.target_margin_pct· number · optionnel
Margin on price for cost-plus, not markup on cost: price = unit_cost / (1 - margin). Defaults to 30.routing_preference· string · optionnel · cheapest | fastest | explicit | round_robin | weighted | policy | default
How to route across pricing functions. Defaults to "default".include_explanation· boolean · optionnel
If true, ask for an explanation and confidence with the price.
Exemple d'appel{"name": "compute_price", "arguments": {"currency": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - get_billing_settings≈ 96 tokens
Read your workspace's prepaid balance and billing settings: the balance in USDC, whether balance billing and outcome pricing are on, the auto top-up offer, the latest ledger rows and the terms. Needs a Last Price credential with price compute scope.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "get_billing_settings", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - get_function≈ 136 tokens
Read one pricing function your workspace can use: its name, description, status, tags, cost per unit, cost multiplier, and input and output schemas. Its owner also sees whether a credential is saved for it. Needs a Last Price credential with function read scope.
Paramètres, retour & exemple (1)
Paramètresfunction_id· string · requis
The pricing function UUID: id on a list_functions result.
Exemple d'appel{"name": "get_function", "arguments": {"function_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - get_price_guardrails≈ 96 tokens
Read the price guardrails saved for your workspace, and the defaults set_price_guardrails fills in for an omitted field. saved is false when none are saved, and then no workspace limit applies. Needs a Last Price credential with routing read scope.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "get_price_guardrails", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - get_pricing_analysis≈ 166 tokens
Read what your workspace's own records say about its pricing, as findings, most urgent first: learned estimates ready while learned pricing is off, estimates that cannot be used yet and exactly what each needs, whether enough quotes have a reported outcome, how often your guardrails held prices back, and approvals waiting or about to expire. Each finding states its numbers and names the call that would act on it; nothing is changed. Free, and computed without an AI model. Needs a Last Price credential with routing read scope.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "get_pricing_analysis", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - get_receipt≈ 195 tokens
Get the receipt for one of your workspace's priced calls, by its usage event id (the id list_usage_events returns and report_outcome takes): what was priced, by which function and agent, when, the amount, how it was paid, and the outcome if one was reported. Receipts are made only when you ask, never sent for every call. For CSV or a printable page, call GET /api/receipts/{id} with format=csv or format=html. Needs a Last Price credential with price compute or billing read scope.
Paramètres, retour & exemple (1)
Paramètresusage_event_id· string · requis
The priced call's usage event id, as list_usage_events returns it.
Exemple d'appel{"name": "get_receipt", "arguments": {"usage_event_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - get_usage≈ 154 tokens
Total your workspace's priced calls over a period, this calendar month by default: requests, units, compute time, cost, cached and prepaid calls, and the part of this month's cost still to be billed. Needs a Last Price credential.
Paramètres, retour & exemple (2)
Paramètresend_date· string · optionnel
End of the period, ISO 8601. Defaults to now.start_date· string · optionnel
Start of the period, ISO 8601. Defaults to the first of this month.
Exemple d'appel{"name": "get_usage", "arguments": {"end_date": "texte", "start_date": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - list_functions≈ 41 tokens
List the pricing functions registered for the authenticated tenant.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "list_functions", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - list_notifications≈ 216 tokens
List your workspace's notifications, newest first, with the unread count: approval requests, disputes, price proposals, email to agent inboxes and, for the agent that owns the workspace, failed webhook deliveries. Pass the next cursor a page returns back as cursor for the next page. Unread is per reader: an agent has one read state for all its keys and tokens, a plain key has its own. Needs a Last Price credential with notifications read scope; the agent that owns the workspace needs none.
Paramètres, retour & exemple (2)
Paramètreslimit· integer · optionnel
Page size. Defaults to 50.cursor· string · optionnel
The next cursor from the previous page, unchanged.
Exemple d'appel{"name": "list_notifications", "arguments": {"limit": 1, "cursor": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - list_outcomes≈ 154 tokens
Read your workspace's outcome pricing: whether it is on, its terms, counts of open, accepted and rejected windows with the total refunded, and the windows themselves, newest first. Needs a Last Price credential with price compute scope.
Paramètres, retour & exemple (2)
Paramètreslimit· integer · optionnel
Most windows to return. Defaults to 50.status· string · optionnel · open | decided
Only open windows, or only decided ones. Both by default.
Exemple d'appel{"name": "list_outcomes", "arguments": {"limit": 1, "status": "open"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - list_receipts≈ 397 tokens
Get receipts for many of your workspace's priced calls at once, as one statement with totals: name up to 50 usage event ids, or a period (this calendar month by default, at most 366 days), optionally for one function or agent. A period statement also counts, for each agent, the value signals set up in Settings, Value receipts. Receipts are made only when you ask. For CSV or a printable page, call GET /api/receipts with format=csv or format=html. Needs a Last Price credential with price compute or billing read scope.
Paramètres, retour & exemple (7)
Paramètresids· string · optionnel
Up to 50 usage event ids, comma separated. Send ids or a period, not both.limit· integer · optionnel
Receipts per page for a period. Defaults to 100.offset· integer · optionnel
Receipts to skip for a period. Defaults to 0, at most 1000000.agent_id· string · optionnel
Only calls made by this agent. A key bound to an agent always gets only its own calls.end_date· string · optionnel
End of the period, ISO 8601. Defaults to now.start_date· string · optionnel
Start of the period, ISO 8601. Defaults to the first of this month (UTC).function_id· string · optionnel
Only calls priced by this function.
Exemple d'appel{"name": "list_receipts", "arguments": {"ids": "texte", "limit": 1, "offset": 1, "agent_id": "texte", "end_date": "texte", "start_date": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - list_usage_events≈ 229 tokens
List your workspace's priced calls, newest first: each one's id (what report_outcome takes to report it), function, cost, the price given and the inputs it was given for, and who sent it. Needs a Last Price credential.
Paramètres, retour & exemple (5)
Paramètreslimit· integer · optionnel
Page size. Defaults to 50.offset· integer · optionnel
Calls to skip. Defaults to 0, at most 1000000.end_date· string · optionnel
Only calls up to this time, ISO 8601.start_date· string · optionnel
Only calls from this time on, ISO 8601.function_id· string · optionnel
Only calls priced by this function.
Exemple d'appel{"name": "list_usage_events", "arguments": {"limit": 1, "offset": 1, "end_date": "texte", "start_date": "texte", "function_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - mark_notifications_read≈ 152 tokens
Mark your workspace's notifications read for this reader only (your agent, or your key), up to read_through (default now). Send the creation time of the newest item you handled so anything newer stays unread. Needs a Last Price credential with notifications write scope; the agent that owns the workspace needs none.
Paramètres, retour & exemple (1)
Paramètresread_through· string · optionnel
Mark everything created at or before this time read, ISO 8601. Defaults to now.
Exemple d'appel{"name": "mark_notifications_read", "arguments": {"read_through": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - pricing_conversation≈ 296 tokens
Ask Last Price what pricing inputs are missing. Start with request: {}, return its questions to the caller, then send continuation.request and answers. Prepare is free and does not compute. When ready, action compute uses the existing authenticated pricing API; configure a credential first. Never invent answers or treat a continuation as authorization.
Paramètres, retour & exemple (3)
Paramètresaction· string · optionnel · prepare | computeanswers· object · optionnelrequest· object · optionnel
Partial REST PricingComputeRequest, including nested context, constraints, an explicit function selection and options. Reuse continuation.request on subsequent calls.
Exemple d'appel{"name": "pricing_conversation", "arguments": {"action": "prepare", "answers": {}, "request": {}}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - read_my_inbox≈ 168 tokens
Read the newest messages in your own agent inbox: the inbox of the agent your key or token is bound to, and no other. Answers live from the mail provider when it is reachable, otherwise from the mail Last Price stored (source says which). Needs an agent key, or a token exchanged from one.
Paramètres, retour & exemple (2)
Paramètreslimit· integer · optionnel
Messages to return. Defaults to 25.cursor· string · optionnel
The cursor the previous page returned, for live mail only.
Exemple d'appel{"name": "read_my_inbox", "arguments": {"limit": 1, "cursor": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - report_outcome≈ 314 tokens
Report whether a price from compute_price was used. Pass receipt.id from that result as usage_event_id. Outcomes are what later routing and confidence learn from. With outcome pricing on, a rejection within the call's outcome window gives back part of what it cost; the result says what was refunded. Needs a Last Price credential. Report only what actually happened.
Paramètres, retour & exemple (6)
Paramètresoutcome· string · requis · accepted | rejected
Whether the price was used.evidence_url· string · optionnel
Optional evidence: an https link to the record.evidence_note· string · optionnel
Optional evidence: a short note on why.quality_score· number · optionnel
Optional: how good the price was, 0 to 1.usage_event_id· string · requis
The usage event of the priced call: receipt.id on the compute_price result.evidence_reference· string · optionnel
Optional evidence: an order, ticket or invoice id in your own system.
Exemple d'appel{"name": "report_outcome", "arguments": {"outcome": "accepted", "usage_event_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - set_price_guardrails≈ 427 tokens
Save the price guardrails for your workspace. max_change_pct, min_margin_pct and never_below_cost hold every final price your workspace is given, from compute_price and every other pricing call. band_lower_ratio and band_upper_ratio are only the range the optimizer and elasticity functions search when a call sends no minimum or maximum. This replaces the whole saved set: an omitted field takes its default, so read get_price_guardrails first and send every rule you want to keep. Needs a Last Price credential with routing write scope.
Paramètres, retour & exemple (5)
Paramètresmax_change_pct· number|null · optionnel
Most a final price may move from the current price, up or down, in percent. Null (the default) for no limit.min_margin_pct· number|null · optionnel
Least margin over the unit cost a call sends, in percent of the price. Null (the default) for no minimum.band_lower_ratio· number · optionnel
Lowest price the optimizer and elasticity functions search, as a multiple of the current price. Defaults to 0.5.band_upper_ratio· number · optionnel
Highest price the optimizer and elasticity functions search, as a multiple of the current price. Defaults to 2.never_below_cost· boolean · optionnel
Never price below the unit cost a call sends. Defaults to true.
Exemple d'appel{"name": "set_price_guardrails", "arguments": {"max_change_pct": 1, "min_margin_pct": 1, "band_lower_ratio": 1, "band_upper_ratio": 1, "never_below_cost": true}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - update_billing_settings≈ 408 tokens
Change your workspace's billing settings. Only the settings you send change. outcome_pricing turns on paying in full only when a price is used: a rejection reported with report_outcome within its window gives part back. balance_billing makes every compute call draw on the prepaid balance, and a call the balance cannot cover is refused. auto_topup is an offer, not a charge: below the threshold, results carry a top-up hint and nothing is paid automatically. A self-registered agent workspace cannot change outcome_pricing or balance_billing until it is claimed. Needs a Last Price credential with price compute scope; a person also needs the owner, admin or billing role.
Paramètres, retour & exemple (3)
Paramètresauto_topup· object|null · optionnel
The auto top-up offer, or null to clear it.balance_billing· boolean · optionnel
Turn balance billing on or off.outcome_pricing· boolean · optionnel
Turn outcome pricing on or off.
Exemple d'appel{"name": "update_billing_settings", "arguments": {"auto_topup": {}, "balance_billing": true, "outcome_pricing": true}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - update_function≈ 384 tokens
Change a pricing function your workspace owns: its display name, description, status, tags, cost per unit or cost multiplier. Only the fields you send change. Built-in functions and other workspaces' functions cannot be changed. The endpoint, its credential and the schemas are not changed here. Needs a Last Price credential with function publish scope.
Paramètres, retour & exemple (7)
Paramètrestags· array · optionnel
Replaces the whole tag list.status· string · optionnel · draft | review | active | inactive | deprecated
active functions are routed to; draft, review, inactive and deprecated ones are not.description· string|null · optionnel
What the function does. Null clears it.function_id· string · requis
The pricing function UUID: id on a list_functions result.display_name· string · optionnel
The name people and agents see.cost_per_unit· number · optionnel
What one call to the function costs, in USD.cost_multiplier· number · optionnel
Multiplies the cost of each call, for a more expensive model tier. 1 is the default; stored to 4 decimal places.
Exemple d'appel{"name": "update_function", "arguments": {"function_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - verify_price≈ 423 tokens
Ask whether a price makes sense for its context, rather than what the price should be. Returns a verdict (fair, too_high, too_low, or unknown), the band it was judged against, a signed deviation from the reference, a confidence, and the evidence behind it. A verdict of "unknown" means the price could not be judged, which is not the same as fair.
Paramètres, retour & exemple (10)
Paramètresgeo· string · optionnel
Optional geography hint, e.g. US.currency· string · optionnel
Three-letter ISO currency code, e.g. USD. Defaults to USD.metadata· object · optionnel
Optional free-form context.max_price· number · optionnel
Optional hard ceiling. Binding: a verdict will never relax it.min_price· number · optionnel
Optional hard floor. Binding: a verdict will never relax it.product_id· string · optionnel
Optional identifier of what is being priced.product_type· string · optionnel · saas | ecommerce | marketplace | digital | api | custom
Optional category of what is being priced.current_price· number · optionnel
Optional incumbent price. Not required: asking whether a price is sensible does not presuppose an existing one.proposed_price· number · requis
The price to judge. This is the subject of the call.customer_segment· string · optionnel
Optional segment, e.g. enterprise.
Exemple d'appel{"name": "verify_price", "arguments": {"proposed_price": 1}}Exemple de retour{"content": [{"type": "text", "text": "…"}]}
C'est votre serveur ?
Revendiquez-le sur l'espace créateur (preuve GitHub, domaine ou npm) pour afficher le badge « propriétaire vérifié » et lancer un pentest comportemental à la demande afin d'obtenir le badge « Vérifié ».