Last Price is an MCP server published by ai.last-price, hosted at api.last-price.ai. When last checked on 2026-11-24 it was working: it answers and lists its tools. It declares 11 tools, including pricing_conversation, compute_price, verify_price, report_outcome, list_functions.
Check what something should cost before an agent pays, or compute a price to offer. Keyless to try.
1,177 connections through 4 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Ask Last Price what pricing inputs are missing. Start with request: {}, return its questions to the caller, then send continuation.request and answers. search_tools gives its full definition.
| Parameter | Type | Description |
|---|---|---|
| action | string | prepare (free) returns the questions still open; compute prices once nothing is missing. |
| answers | object | Answers to the questions the last call asked, by field, e.g. |
| request | object | Partial REST PricingComputeRequest, including nested context, constraints, an explicit function… |
{
"name": "pricing_conversation",
"description": "Ask Last Price what pricing inputs are missing. Start with request: {}, return its questions to the caller, then send continuation.request and answers. search_tools gives its full definition.",
"inputSchema": {
"type": "object",
"properties": {
"action": {
"enum": [
"prepare",
"compute"
],
"type": "string",
"description": "prepare (free) returns the questions still open; compute prices once nothing is missing."
},
"answers": {
"type": "object",
"description": "Answers to the questions the last call asked, by field, e.g."
},
"request": {
"type": "object",
"description": "Partial REST PricingComputeRequest, including nested context, constraints, an explicit function…"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"result": {
"type": "object",
"properties": {
"currency": {
"type": "string"
},
"confidence": {
"type": "number"
},
"computed_price": {
"type": "number"
}
}
},
"status": {
"enum": [
"needs_input",
"ready",
"completed",
"unable_to_assess"
],
"type": "string"
},
"message": {
"type": "string",
"description": "A short sentence about the result that an agent can show its person."
},
"questions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"reason": {
"type": "string"
},
"question": {
"type": "string"
}
}
}
},
"assumptions": {
"type": "array",
"items": {
"type": "string"
}
},
"explanation": {
"type": "string"
},
"continuation": {
"type": "object",
"properties": {
"request": {
"type": "object"
}
}
}
},
"additionalProperties": true
},
"annotations": {
"title": "Pricing conversation",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Compute a price. Returns the price, the function that produced it, the metered cost and a `trace` of each stage. search_tools gives its full definition.
| Parameter | Type | Description |
|---|---|---|
| geo | string | Optional geography hint, e.g. |
| payer | ["string","null"] | Optional. |
| intent | object | Optional. |
| channel | string | Optional. |
| payment | string | Optional. |
| routing | object | Optional. |
| currency * | string | Three-letter ISO currency code, e.g. |
| metadata | object | Optional context. |
| max_price | number | Optional maximum acceptable price. |
| min_price | number | Optional minimum acceptable price. |
| unit_cost | number | What the work costs you. |
| buyer_type | ["string","null"] |
Ask whether a price makes sense for its context, rather than what the price should be. Returns a verdict (within_band, 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. search_tools gives its full definition.
| Parameter | Type | Description |
|---|---|---|
| geo | string | Optional geography hint, e.g. |
| channel | string | Optional. |
| payment | string | Optional. |
| currency | string | Three-letter ISO currency code, e.g. |
| metadata | object | Optional free-form context. |
| max_price | number | Optional hard ceiling. |
| min_price | number | Optional hard floor. |
| buyer_type | ["string","null"] | Optional. |
| product_id | string | Optional identifier of what is being priced. |
| buyer_agent | ["string","null"] | Optional. |
| product_type | string | Optional category of what is being priced. |
Report whether a price from compute_price was used: once the buyer has accepted or turned down a price, report it. search_tools gives its full definition.
| Parameter | Type | Description |
|---|---|---|
| outcome * | string | Whether the price was used. |
| evidence_url | string | Optional evidence: an https link to the record. |
| evidence_note | string | Optional evidence: a short note on why. |
| quality_score | number | Optional: how good the price was, 0 to 1. |
| usage_event_id | string | The usage event of the priced call: receipt.id on the compute_price result. |
| rejection_reason | string | Optional, with outcome rejected only: why the price was turned down. |
| alternative_price | number | Optional, with rejection_reason found_cheaper only: the price the buyer found elsewhere, in the… |
| evidence_reference | string | Optional evidence: an order, ticket or invoice id in your own system. |
{
"name": "report_outcome",
"description": "Report whether a price from compute_price was used: once the buyer has accepted or turned down a price, report it. search_tools gives its full definition.",
"inputSchema": {
"type": "object",
"required": [
"outcome"
],
"properties": {
"outcome": {
"enum": [
"accepted",
"rejected"
],
"type": "string",
"description": "Whether the price was used."
},
"evidence_url": {
"type": "string",
"maxLength": 500,
"description": "Optional evidence: an https link to the record."
},
"evidence_note": {
"type": "string",
"maxLength": 500,
"description": "Optional evidence: a short note on why."
},
"quality_score": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "Optional: how good the price was, 0 to 1."
},
"usage_event_id": {
"type": "string",
"description": "The usage event of the priced call: receipt.id on the compute_price result."
},
"rejection_reason": {
"enum": [
"price_too_high",
"over_budget",
"found_cheaper",
"not_needed",
"wrong_item",
"timing",
"other"
],
"type": "string",
"description": "Optional, with outcome rejected only: why the price was turned down."
},
"alternative_price": {
"type": "number",
"maximum": 9999999999.9999,
"minimum": 0.0001,
"description": "Optional, with rejection_reason found_cheaper only: the price the buyer found elsewhere, in the…"
},
"evidence_reference": {
"type": "string",
"maxLength": 200,
"description": "Optional evidence: an order, ticket or invoice id in your own system."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"event": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"outcome": {
"type": [
"string",
"null"
]
}
}
},
"message": {
"type": "string",
"description": "A short sentence about the result that an agent can show its person."
},
"quote_expired": {
"type": "boolean"
},
"outcome_window": {
"type": "object"
},
"quote_expired_seconds_ago": {
"type": "number"
}
},
"additionalProperties": true
},
"annotations": {
"title": "Report outcome",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}List the pricing functions registered for the authenticated tenant. search_tools gives its full definition.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Page size. |
| offset | integer | Rows to skip. |
| status | string | Only functions in this status. |
| is_builtin | boolean | True for built-in functions only, false for the tenant's own only. |
| execution_type | string | Only functions of this execution type. |
{
"name": "list_functions",
"description": "List the pricing functions registered for the authenticated tenant. search_tools gives its full definition.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Page size."
},
"offset": {
"type": "integer",
"minimum": 0,
"description": "Rows to skip."
},
"status": {
"enum": [
"draft",
"review",
"active",
"inactive",
"deprecated"
],
"type": "string",
"description": "Only functions in this status."
},
"is_builtin": {
"type": "boolean",
"description": "True for built-in functions only, false for the tenant's own only."
},
"execution_type": {
"enum": [
"rule_based",
"ml_model",
"llm_prompt",
"external_api",
"composite"
],
"type": "string",
"description": "Only functions of this execution type."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"items": {
"type": "array"
},
"message": {
"type": "string",
"description": "A short sentence about the result that an agent can show its person."
},
"functions": {
"type": "array"
}
},
"additionalProperties": true
},
"annotations": {
"title": "List functions",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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. search_tools gives its full definition.
| Parameter | Type | Description |
|---|---|---|
| usage_event_id * | string | The priced call's usage event id, as list_usage_events returns it. |
{
"name": "get_receipt",
"description": "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. search_tools gives its full definition.",
"inputSchema": {
"type": "object",
"required": [
"usage_event_id"
],
"properties": {
"usage_event_id": {
"type": "string",
"format": "uuid",
"description": "The priced call's usage event id, as list_usage_events returns it."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"issuer": {
"type": "object"
},
"object": {
"enum": [
"receipt"
],
"type": "string"
},
"message": {
"type": "string",
"description": "A short sentence about the result that an agent can show its person."
},
"receipt": {
"type": "object",
"properties": {
"amount": {
"type": "number"
},
"payment": {
"type": "string"
},
"currency": {
"type": "string"
},
"usage_event_id": {
"type": "string"
}
}
},
"issued_at": {
"type": "string"
}
},
"additionalProperties": true
},
"annotations": {
"title": "Get receipt",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Tell Last Price what you were trying to do, and what got in the way. Agents are the people Last Price is built for, so this is our interview with you: the team reads every answer and it decides what we build next. search_tools gives its full definition.
| Parameter | Type | Description |
|---|---|---|
| trying_to * | string | What you were trying to do, in a sentence. |
| agent_name | string | What you call yourself. |
| asked_after | string | The tool that failed. |
| what_happened | string | What happened instead. |
| what_would_help | string | What would have helped. |
{
"name": "tell_last_price",
"description": "Tell Last Price what you were trying to do, and what got in the way. Agents are the people Last Price is built for, so this is our interview with you: the team reads every answer and it decides what we build next. search_tools gives its full definition.",
"inputSchema": {
"type": "object",
"required": [
"trying_to"
],
"properties": {
"trying_to": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "What you were trying to do, in a sentence."
},
"agent_name": {
"type": "string",
"maxLength": 64,
"description": "What you call yourself."
},
"asked_after": {
"type": "string",
"maxLength": 64,
"description": "The tool that failed."
},
"what_happened": {
"type": "string",
"maxLength": 1000,
"description": "What happened instead."
},
"what_would_help": {
"type": "string",
"maxLength": 1000,
"description": "What would have helped."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"created_at": {
"type": "string"
}
}
},
"thanks": {
"type": "string"
},
"message": {
"type": "string",
"description": "A short sentence about the result that an agent can show its person."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Tell Last Price what you were trying to do",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Find the Last Price tool for a task. This connection lists only the tools that reach a price; the server has over 300 more (pricing functions, routing, experiments, webhooks, billing, orders, the marketplace and more). Pass query, a few words for the job, and get back the best matching tools with their full input schemas. Then call one with call_tool, or by its name. With no query it lists every tool name.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | How many tools to return. Defaults to 5. |
| query | string | What you want to do, in a few words, e.g. "create a webhook" or "experiment results". |
{
"name": "search_tools",
"description": "Find the Last Price tool for a task. This connection lists only the tools that reach a price; the server has over 300 more (pricing functions, routing, experiments, webhooks, billing, orders, the marketplace and more). Pass query, a few words for the job, and get back the best matching tools with their full input schemas. Then call one with call_tool, or by its name. With no query it lists every tool name.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"maximum": 10,
"minimum": 1,
"description": "How many tools to return. Defaults to 5."
},
"query": {
"type": "string",
"maxLength": 200,
"description": "What you want to do, in a few words, e.g. \"create a webhook\" or \"experiment results\"."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"hint": {
"type": "string"
},
"query": {
"type": "string"
},
"tools": {
"type": "array"
},
"message": {
"type": "string",
"description": "A short sentence about the result that an agent can show its person."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Search tools",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Run any Last Price tool by name, including one this connection does not list. Find the name and its arguments with search_tools first. What it does, and whether it changes anything, is what that tool says.
| Parameter | Type | Description |
|---|---|---|
| name * | string | The tool to run, e.g. "list_webhooks". |
| arguments | object | The arguments for that tool, as its input schema from search_tools describes. Defaults to {}. |
{
"name": "call_tool",
"description": "Run any Last Price tool by name, including one this connection does not list. Find the name and its arguments with search_tools first. What it does, and whether it changes anything, is what that tool says.",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The tool to run, e.g. \"list_webhooks\"."
},
"arguments": {
"type": "object",
"description": "The arguments for that tool, as its input schema from search_tools describes. Defaults to {}."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "A short sentence about the result that an agent can show its person."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Call tool",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Sign up with no key and no human: creates a sandbox workspace of your own and returns its API key (shown once), its daily limits and a claim link a person can open to take the workspace into their account. Pass name (2 to 64 characters, such as your-system/role-name), and optionally contact_email and intended_use. On the hosted MCP server this session goes on using the new key, so the tools that need a credential work at once with no header to add; elsewhere send the returned key as the x-api-key header. Public: needs no credential.
| Parameter | Type | Description |
|---|---|---|
| name * | string | What to call this agent, such as your-system/role-name: letters, digits, spaces and . _ : @ / + - |
| intended_use | string | What the agent will price, in a sentence. |
| contact_email | string | Where a person can reach whoever runs this agent. Never used to send mail until a person claims the workspace. |
{
"name": "register_agent",
"description": "Sign up with no key and no human: creates a sandbox workspace of your own and returns its API key (shown once), its daily limits and a claim link a person can open to take the workspace into their account. Pass name (2 to 64 characters, such as your-system/role-name), and optionally contact_email and intended_use. On the hosted MCP server this session goes on using the new key, so the tools that need a credential work at once with no header to add; elsewhere send the returned key as the x-api-key header. Public: needs no credential.",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9 ._:@/+-]{1,63}$",
"maxLength": 64,
"minLength": 2,
"description": "What to call this agent, such as your-system/role-name: letters, digits, spaces and . _ : @ / + -"
},
"intended_use": {
"type": "string",
"maxLength": 500,
"description": "What the agent will price, in a sentence."
},
"contact_email": {
"type": "string",
"maxLength": 254,
"description": "Where a person can reach whoever runs this agent. Never used to send mail until a person claims the workspace."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Register agent",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Use a Last Price API key you already hold (a saved file, LASTPRICE_API_KEY) in this MCP connection, when it was opened without one: pass api_key. On the hosted MCP server this session then runs as that key's agent, so the tools that need a credential work at once with no header to add; it lasts until the session ends or the key is revoked or rotated. The key is checked, never echoed back. A connection that already has a credential keeps it. Public: needs no other credential.
| Parameter | Type | Description |
|---|---|---|
| api_key * | string | Your Last Price API key: lp_ and 40 lowercase hex characters. |
{
"name": "use_api_key",
"description": "Use a Last Price API key you already hold (a saved file, LASTPRICE_API_KEY) in this MCP connection, when it was opened without one: pass api_key. On the hosted MCP server this session then runs as that key's agent, so the tools that need a credential work at once with no header to add; it lasts until the session ends or the key is revoked or rotated. The key is checked, never echoed back. A connection that already has a credential keeps it. Public: needs no other credential.",
"inputSchema": {
"type": "object",
"required": [
"api_key"
],
"properties": {
"api_key": {
"type": "string",
"pattern": "^lp_[0-9a-f]{40}$",
"description": "Your Last Price API key: lp_ and 40 lowercase hex characters."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Use API key",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Last Price prices what you sell. To get a price now, call compute_price with what the work cost you, for example {"unit_cost":0.47,"currency":"USD"}, or with what you charge today, {"current_price":49,"currency":"USD"}. Missing an input? Call pricing_conversation with what you know and it asks for the rest. With no MCP client, POST JSON-RPC to this URL: initialize, then {"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"compute_price","arguments":{"unit_cost":0.47,"currency":"USD"}}}; you do not need tools/list first. This connection lists the 7 tools that reach a price, plus search_tools and call_tool: search_tools finds any of the other 374 tools by task and call_tool runs it. With no key, prices come from a public demo workspace, limited per address. For your own workspace, call register_agent with {"name":"your-system/role-name"}, or, holding a key already (a saved file or LASTPRICE_API_KEY), call use_api_key with it; this session then runs as that agent, no header to add. Check the changelog at https://last-price.ai/changelog before relying on behaviour you learned earlier.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
Too large to show here.
| Optional. |
| no_explore | boolean | If true, give this price exactly as computed, without the small per-call variation a workspace may… |
| product_id | string | Optional identifier of what is being priced. |
| buyer_agent | ["string","null"] | Optional. |
| function_id | string | Optional explicit pricing function UUID to use. |
| product_type | string | Optional category. |
| buyer_ceiling | ["number","null"] | Optional. |
| current_price | number | The current or reference price. |
| outcome_terms | object | Optional, for a price charged per outcome: when the outcome counts as failed and what is owed then. |
| idempotency_key | string | Optional. |
| learned_routing | boolean | Optional. |
| customer_segment | string | Optional segment, e.g. |
| target_margin_pct | number | Margin on price for cost-plus, not markup on cost: price = unit_cost / (1 - margin). |
| routing_preference | string | How to route across pricing functions. |
| include_explanation | boolean | If true, ask for an explanation and confidence with the price. |
| include_buyer_envelope | boolean | If true, with metadata.category set, the result adds buyer_envelope: what buyers' spend limits… |
{
"name": "compute_price",
"description": "Compute a price. Returns the price, the function that produced it, the metered cost and a `trace` of each stage. search_tools gives its full definition.",
"inputSchema": {
"type": "object",
"required": [
"currency"
],
"properties": {
"geo": {
"type": "string",
"description": "Optional geography hint, e.g."
},
"payer": {
"enum": [
"agent_wallet",
"person_card",
"company_invoice",
null
],
"type": [
"string",
"null"
],
"description": "Optional."
},
"intent": {
"type": "object",
"description": "Optional."
},
"channel": {
"type": "string",
"maxLength": 64,
"description": "Optional."
},
"payment": {
"type": "string",
"maxLength": 8192,
"minLength": 20,
"description": "Optional."
},
"routing": {
"type": "object",
"description": "Optional."
},
"currency": {
"type": "string",
"maxLength": 3,
"minLength": 3,
"description": "Three-letter ISO currency code, e.g."
},
"metadata": {
"type": "object",
"description": "Optional context."
},
"max_price": {
"type": "number",
"minimum": 0,
"description": "Optional maximum acceptable price."
},
"min_price": {
"type": "number",
"minimum": 0,
"description": "Optional minimum acceptable price."
},
"unit_cost": {
"type": "number",
"minimum": 0,
"description": "What the work costs you."
},
"buyer_type": {
"enum": [
"agent",
"person",
null
],
"type": [
"string",
"null"
],
"description": "Optional."
},
"no_explore": {
"type": "boolean",
"description": "If true, give this price exactly as computed, without the small per-call variation a workspace may…"
},
"product_id": {
"type": "string",
"description": "Optional identifier of what is being priced."
},
"buyer_agent": {
"type": [
"string",
"null"
],
"maxLength": 100,
"description": "Optional."
},
"function_id": {
"type": "string",
"format": "uuid",
"description": "Optional explicit pricing function UUID to use."
},
"product_type": {
"enum": [
"saas",
"ecommerce",
"marketplace",
"digital",
"api",
"custom"
],
"type": "string",
"description": "Optional category."
},
"buyer_ceiling": {
"type": [
"number",
"null"
],
"description": "Optional.",
"exclusiveMinimum": 0
},
"current_price": {
"type": "number",
"minimum": 0,
"description": "The current or reference price."
},
"outcome_terms": {
"type": "object",
"description": "Optional, for a price charged per outcome: when the outcome counts as failed and what is owed then."
},
"idempotency_key": {
"type": "string",
"maxLength": 255,
"minLength": 8,
"description": "Optional."
},
"learned_routing": {
"type": "boolean",
"description": "Optional."
},
"customer_segment": {
"type": "string",
"description": "Optional segment, e.g."
},
"target_margin_pct": {
"type": "number",
"maximum": 95,
"minimum": 0,
"description": "Margin on price for cost-plus, not markup on cost: price = unit_cost / (1 - margin)."
},
"routing_preference": {
"enum": [
"cheapest",
"fastest",
"explicit",
"round_robin",
"weighted",
"policy",
"default"
],
"type": "string",
"description": "How to route across pricing functions."
},
"include_explanation": {
"type": "boolean",
"description": "If true, ask for an explanation and confidence with the price."
},
"include_buyer_envelope": {
"type": "boolean",
"description": "If true, with metadata.category set, the result adds buyer_envelope: what buyers' spend limits…"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"kind": {
"enum": [
"computed"
],
"type": "string",
"description": "What sort of claim the price is: an estimate by a pricing function, advice rather than a commitment. Term: lp:price-kind.computed."
},
"message": {
"type": "string",
"description": "A short sentence about the result that an agent can show its person."
},
"receipt": {
"type": [
"object",
"null"
],
"description": "The usage event that records this call. Pass receipt.id to report_outcome only when it differs from request_id; when no usage event was recorded, receipt.id falls back to request_id and there is nothing to report against. Term: lp:usage-event."
},
"currency": {
"type": "string",
"description": "ISO 4217 code of computed_price."
},
"confidence": {
"type": [
"number",
"null"
],
"maximum": 1,
"minimum": 0,
"description": "The function's own 0 to 1 score for this price; not a probability that a buyer accepts. Term: lp:confidence.quote."
},
"request_id": {
"type": "string",
"description": "This call's id; the receipt id unless receipt.id says otherwise."
},
"explanation": {
"type": [
"string",
"null"
],
"description": "Why the function chose this price, in plain words; null when it gave none."
},
"function_id": {
"type": [
"string",
"null"
],
"description": "The pricing function that produced the price. Term: lp:pricing-function."
},
"valid_until": {
"type": "string",
"description": "RFC 3339; the price holds only until then."
},
"alternatives": {
"type": [
"array",
"null"
],
"description": "Other prices the function considered, each with its confidence and a label."
},
"price_object": {
"type": [
"object",
"null"
],
"description": "What the price means beside the number: the expected acceptance at each price, the range it was chosen in, what it was conditioned on, the evidence behind it, what it cost to compute and whether it was an exploring draw. Term: lp:price-object."
},
"function_name": {
"type": [
"string",
"null"
],
"description": "Its name, such as lastprice/cost-plus. Term: lp:pricing-function."
},
"computed_price": {
"type": "number",
"description": "The price the function returned, after the caller's bounds and the workspace's guardrails. Term: lp:computed-price."
},
"price_statement": {
"type": "object",
"required": [
"speaker",
"standing",
"audience"
],
"properties": {
"speaker": {
"enum": [
"seller",
"buyer",
"both",
"third_party",
"market"
],
"type": "string"
},
"audience": {
"enum": [
"public",
"one_counterparty",
"private"
],
"type": "string"
},
"standing": {
"enum": [
"proposal",
"commitment",
"executed",
"estimate",
"constraint"
],
"type": "string"
},
"interval_meaning": {
"enum": [
"credible_interval",
"evidence_spread",
"acceptance_range",
"negotiation_room"
],
"type": "string"
}
},
"description": "What this answer is: a third party's estimate for you (standing estimate), or the workspace's commitment until valid_until when a signed quote is attached (speaker seller, standing commitment). Term: lp:price-statement."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Compute price",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| current_price | number | Optional incumbent price. |
| outcome_terms | object | Optional, for a price charged per outcome: when the outcome counts as failed and what is owed then. |
| proposed_price * | number | The price to judge. |
| customer_segment | string | Optional segment, e.g. |
| quote_valid_until | string | Optional. |
{
"name": "verify_price",
"description": "Ask whether a price makes sense for its context, rather than what the price should be. Returns a verdict (within_band, 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. search_tools gives its full definition.",
"inputSchema": {
"type": "object",
"required": [
"proposed_price"
],
"properties": {
"geo": {
"type": "string",
"description": "Optional geography hint, e.g."
},
"channel": {
"type": "string",
"maxLength": 64,
"description": "Optional."
},
"payment": {
"type": "string",
"maxLength": 8192,
"minLength": 20,
"description": "Optional."
},
"currency": {
"type": "string",
"maxLength": 3,
"minLength": 3,
"description": "Three-letter ISO currency code, e.g."
},
"metadata": {
"type": "object",
"description": "Optional free-form context."
},
"max_price": {
"type": "number",
"minimum": 0,
"description": "Optional hard ceiling."
},
"min_price": {
"type": "number",
"minimum": 0,
"description": "Optional hard floor."
},
"buyer_type": {
"enum": [
"agent",
"person",
null
],
"type": [
"string",
"null"
],
"description": "Optional."
},
"product_id": {
"type": "string",
"description": "Optional identifier of what is being priced."
},
"buyer_agent": {
"type": [
"string",
"null"
],
"maxLength": 100,
"description": "Optional."
},
"product_type": {
"enum": [
"saas",
"ecommerce",
"marketplace",
"digital",
"api",
"custom"
],
"type": "string",
"description": "Optional category of what is being priced."
},
"current_price": {
"type": "number",
"minimum": 0,
"description": "Optional incumbent price."
},
"outcome_terms": {
"type": "object",
"description": "Optional, for a price charged per outcome: when the outcome counts as failed and what is owed then."
},
"proposed_price": {
"type": "number",
"minimum": 0,
"description": "The price to judge."
},
"customer_segment": {
"type": "string",
"description": "Optional segment, e.g."
},
"quote_valid_until": {
"type": "string",
"format": "date-time",
"description": "Optional."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"band": {
"type": [
"object",
"null"
],
"properties": {
"lower": {
"type": [
"number",
"null"
]
},
"upper": {
"type": [
"number",
"null"
]
}
},
"description": "The range the price was judged against; a null bound is open on that side. Term: lp:band.verification."
},
"message": {
"type": "string",
"description": "A short sentence about the result that an agent can show its person."
},
"verdict": {
"enum": [
"within_band",
"too_high",
"too_low",
"unknown"
],
"type": "string",
"description": "unknown means nothing could judge the price, which is not within_band. Term: lp:verdict."
},
"currency": {
"type": "string",
"description": "ISO 4217 code of proposed_price and the band."
},
"evidence": {
"type": "array",
"description": "Each source's reference, band and weight. Term: lp:evidence."
},
"next_step": {
"enum": [
"buy",
"negotiate",
"walk_away",
"check_more"
],
"type": "string",
"description": "What a buyer should do with this price. Term: lp:next-step."
},
"confidence": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "The lowest evidence weight, halved when sources disagree. Term: lp:confidence.verdict."
},
"valid_until": {
"type": "string",
"description": "RFC 3339; the verdict holds only until then."
},
"deviation_pct": {
"type": [
"number",
"null"
],
"description": "Percent from the reference price; positive is above it. Term: lp:deviation."
},
"proposed_price": {
"type": "number",
"description": "The price that was judged. Term: lp:proposed-price."
},
"price_statement": {
"type": "object",
"required": [
"speaker",
"standing",
"audience"
],
"properties": {
"speaker": {
"enum": [
"seller",
"buyer",
"both",
"third_party",
"market"
],
"type": "string"
},
"audience": {
"enum": [
"public",
"one_counterparty",
"private"
],
"type": "string"
},
"standing": {
"enum": [
"proposal",
"commitment",
"executed",
"estimate",
"constraint"
],
"type": "string"
},
"interval_meaning": {
"enum": [
"credible_interval",
"evidence_spread",
"acceptance_range",
"negotiation_room"
],
"type": "string"
}
},
"description": "What this answer is: a third party's estimate whose band is an acceptance range around the reference (interval_meaning acceptance_range), not an interval of value. Term: lp:price-statement."
},
"reference_price": {
"type": [
"number",
"null"
],
"description": "The price the evidence points at. Term: lp:reference-price."
},
"next_step_reason": {
"type": "string",
"description": "Why next_step was chosen, in one sentence."
},
"independent_evidence": {
"type": "boolean",
"description": "False means the verdict partly reasoned from the price itself. Term: lp:independent-evidence."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Verify price",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}