Server definition
- Hash
- sha256:6824b808bda2b485d1cc366fce73045cbe58a5a5840ed47e6e3bd85236bcd508
- What it is
- What a remote MCP server returned when asked what it offers: 29 tools
The blob, as servednamed by its sha256
{
"instructions": null,
"tools": [
{
"description": "Analyze one specific session's actual recorded LLM usage (tagged via record_usage's session_id) on demand: total input/output tokens, total actual cost, and a per-model breakdown if more than one model was used. Also runs the session's own observed token pattern through the same routing engine behind recommend_model / POST /router/recommend to produce a grounded recommendation — or confirm the current choice is already optimal — with the estimated dollar savings or increase versus this session's actual cost. Returns has_data: false with no recommendation if the session_id has no recorded usage. Advisory only — never switches or reroutes anything.",
"inputSchema": {
"properties": {
"org_id": {
"description": "Optional organisation ID filter — scopes the lookup to usage events recorded under that org_id, same as get_usage_summary's org_id",
"type": "string"
},
"session_id": {
"description": "The session_id previously used when calling record_usage",
"type": "string"
}
},
"required": [
"session_id"
],
"type": "object"
},
"name": "analyze_session_usage",
"outputSchema": null
},
{
"description": "Ask the LLM Pricing AI agent a question in natural language. Use for complex queries about pricing, model recommendations, cost optimisation advice, or anything that benefits from multi-step reasoning.",
"inputSchema": {
"properties": {
"autonomous": {
"default": false,
"description": "Run in autonomous task mode (default: false)",
"type": "boolean"
},
"conversation_id": {
"description": "Optional conversation ID to continue a previous session",
"type": "string"
},
"message": {
"description": "The question or task for the pricing agent",
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
},
"name": "ask_agent",
"outputSchema": null
},
{
"description": "Audit this server's own pricing data against an external reference registry. Prices here are hand-maintained and go stale silently; a price that disagrees with the registry by more than the threshold is automatically withheld from serving the moment it's detected, not just when this tool runs. This reports what's currently withheld and why. The price value itself is never overwritten by the registry. Use when the user asks whether the pricing data is accurate or up to date, or wants to audit a specific provider's rates.",
"inputSchema": {
"properties": {
"limit": {
"default": 50,
"description": "Maximum findings to return (default: 50, max: 200)",
"maximum": 200,
"minimum": 1,
"type": "integer"
},
"provider": {
"description": "Limit the audit to one provider (partial, case-insensitive)",
"type": "string"
},
"threshold_pct": {
"default": 5,
"description": "Minimum % difference to report (default: 5)",
"minimum": 0,
"type": "number"
}
},
"required": [],
"type": "object"
},
"name": "check_price_drift",
"outputSchema": null
},
{
"description": "Compare costs for multiple LLM models",
"inputSchema": {
"properties": {
"input_tokens": {
"description": "Number of input tokens",
"minimum": 0,
"type": "integer"
},
"model_names": {
"description": "List of model names to compare",
"items": {
"type": "string"
},
"type": "array"
},
"output_tokens": {
"description": "Number of output tokens",
"minimum": 0,
"type": "integer"
}
},
"required": [
"model_names",
"input_tokens",
"output_tokens"
],
"type": "object"
},
"name": "compare_costs",
"outputSchema": null
},
{
"description": "Delete a registered budget-spend alert by its ID.",
"inputSchema": {
"properties": {
"alert_id": {
"description": "The ID of the alert to delete (from list_budget_alerts or register_budget_alert)",
"type": "integer"
}
},
"required": [
"alert_id"
],
"type": "object"
},
"name": "delete_budget_alert",
"outputSchema": null
},
{
"description": "Delete a specific chat conversation by its ID. Use when the user asks to delete, clear, or remove a past conversation. Use list_conversations first to find the conversation ID.",
"inputSchema": {
"properties": {
"conversation_id": {
"description": "The ID of the conversation to delete",
"type": "string"
}
},
"required": [
"conversation_id"
],
"type": "object"
},
"name": "delete_conversation",
"outputSchema": null
},
{
"description": "Delete a registered price-change alert by its ID.",
"inputSchema": {
"properties": {
"alert_id": {
"description": "The ID of the alert to delete (from list_price_alerts or register_price_alert)",
"type": "integer"
}
},
"required": [
"alert_id"
],
"type": "object"
},
"name": "delete_price_alert",
"outputSchema": null
},
{
"description": "Estimate the cost of using a specific LLM model",
"inputSchema": {
"properties": {
"input_tokens": {
"description": "Number of input tokens",
"minimum": 0,
"type": "integer"
},
"model_name": {
"description": "Name of the LLM model (e.g., 'gpt-4', 'claude-3-opus')",
"type": "string"
},
"output_tokens": {
"description": "Number of output tokens",
"minimum": 0,
"type": "integer"
}
},
"required": [
"model_name",
"input_tokens",
"output_tokens"
],
"type": "object"
},
"name": "estimate_cost",
"outputSchema": null
},
{
"description": "Get current pricing for all LLM models from all providers",
"inputSchema": {
"properties": {},
"required": [],
"type": "object"
},
"name": "get_all_pricing",
"outputSchema": null
},
{
"description": "Report process-lifetime hit/miss counts, total lookups, and hit rate for the ~5-minute recommendation cache, separately for the recommend_model tool and POST /router/recommend (never combined). Server-operations introspection for confirming the cache is reducing recomputation in production, not a pricing question. Counts reset on process restart; reading them never changes them.",
"inputSchema": {
"properties": {},
"required": [],
"type": "object"
},
"name": "get_cache_stats",
"outputSchema": null
},
{
"description": "Report an aggregate accuracy summary for the pricing catalogue: what percentage of models have a confirmed, fresh price, how many are currently withheld due to price drift, how many are newly discovered and not yet priced, and how many confirmed prices are over 90 days old. A single trust signal, distinct from check_price_drift which lists individual disputes. Use when the user asks how accurate or trustworthy the pricing data is, overall.",
"inputSchema": {
"properties": {},
"required": [],
"type": "object"
},
"name": "get_data_quality",
"outputSchema": null
},
{
"description": "Get subscription pricing for AI coding IDE tools: GitHub Copilot, Cursor, Windsurf, Claude.ai, JetBrains AI, Amazon Q Developer, and Tabnine. Returns monthly subscription cost, inline completion support, context window, and per-tool strengths. Use this when the user asks to compare IDE AI tools, subscription-based coding assistants, or wants to know which IDE AI fits their budget.",
"inputSchema": {
"properties": {
"inline_only": {
"default": false,
"description": "If true, only return tools that support real-time inline code completion",
"type": "boolean"
},
"max_monthly": {
"description": "Only return plans at or below this monthly USD price (e.g. 20 for $20/mo)",
"minimum": 0,
"type": "number"
},
"provider": {
"description": "Filter by provider name (partial match, case-insensitive). Examples: 'GitHub Copilot', 'Cursor', 'Windsurf', 'JetBrains', 'Amazon Q', 'Tabnine'",
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "get_ide_pricing",
"outputSchema": null
},
{
"description": "Get performance metrics (throughput, latency, context window) for models",
"inputSchema": {
"properties": {
"include_cost": {
"default": true,
"description": "Include cost metrics in response (default: true)",
"type": "boolean"
},
"provider": {
"description": "Optional provider filter (e.g., 'openai', 'anthropic')",
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "get_performance_metrics",
"outputSchema": null
},
{
"description": "Generate a download URL for the pricing history export. Returns a URL the user can open in their browser to download snapshot history as CSV (for spreadsheets) or JSON (for code). Use this when the user asks to export, download, or save pricing data.",
"inputSchema": {
"properties": {
"days": {
"default": 30,
"description": "Look-back window in days (default: 30, max: 365)",
"maximum": 365,
"minimum": 1,
"type": "integer"
},
"format": {
"default": "csv",
"description": "Output format: 'csv' (default) or 'json'",
"enum": [
"csv",
"json"
],
"type": "string"
},
"limit": {
"default": 10000,
"description": "Max rows to export (default: 10000, max: 100000)",
"maximum": 100000,
"minimum": 1,
"type": "integer"
},
"model_name": {
"description": "Filter by model name (optional)",
"type": "string"
},
"provider": {
"description": "Filter by provider (optional)",
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "get_pricing_export_url",
"outputSchema": null
},
{
"description": "Query historical pricing snapshots recorded over time. Use this to look up past prices for a model or provider, or to see how prices have changed over a given number of days.",
"inputSchema": {
"properties": {
"days": {
"default": 30,
"description": "Look-back window in days (default: 30, max: 365)",
"maximum": 365,
"minimum": 1,
"type": "integer"
},
"limit": {
"default": 50,
"description": "Maximum number of snapshot rows to return (default: 50, max: 500)",
"maximum": 500,
"minimum": 1,
"type": "integer"
},
"model_name": {
"description": "Filter by model name (e.g. 'gpt-4o'). Omit for all models.",
"type": "string"
},
"provider": {
"description": "Filter by provider (e.g. 'openai'). Omit for all providers.",
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "get_pricing_history",
"outputSchema": null
},
{
"description": "Find models whose prices changed the most over a given period. Returns models sorted by absolute percentage price change with a direction label ('increased', 'decreased', or 'unchanged'). Use this to answer questions like 'which models got cheaper this month?' or 'which providers raised prices recently?'",
"inputSchema": {
"properties": {
"days": {
"default": 30,
"description": "Look-back window in days (default: 30, max: 365)",
"maximum": 365,
"minimum": 1,
"type": "integer"
},
"limit": {
"default": 20,
"description": "Maximum models to return (default: 20, max: 100)",
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"name": "get_pricing_trends",
"outputSchema": null
},
{
"description": "Get MCP server telemetry and usage statistics including tool usage, response times, and error rates",
"inputSchema": {
"properties": {
"include_details": {
"default": true,
"description": "Include detailed statistics (default: true)",
"type": "boolean"
},
"limit": {
"default": 10,
"description": "Maximum items per category (default: 10, max: 50)",
"maximum": 50,
"minimum": 1,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"name": "get_telemetry",
"outputSchema": null
},
{
"description": "Get a summary of actual recorded LLM spend: total cost, request count, and breakdowns by model and provider, from usage events previously logged via record_usage. Use when the user asks what they've actually spent, as opposed to a hypothetical cost estimate.",
"inputSchema": {
"properties": {
"days": {
"default": 30,
"description": "Look-back window in days (default: 30, max: 365)",
"maximum": 365,
"minimum": 1,
"type": "integer"
},
"org_id": {
"description": "Optional organisation ID filter",
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "get_usage_summary",
"outputSchema": null
},
{
"description": "Get recommended use cases and strengths for LLM models",
"inputSchema": {
"properties": {
"provider": {
"description": "Optional provider filter",
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "get_use_cases",
"outputSchema": null
},
{
"description": "Bulk-import a completed session's usage in a single call — the retroactive counterpart to record_usage, for when a session wasn't instrumented live. Use when a calling agent (e.g. VS Code Copilot Chat) already has a session's turn-by-turn history in its own local store and wants this server to report on it exactly as if it had been tracked live. Accepts a list of entries under one shared session_id; each entry resolves its input and output tokens independently, either from exact counts when known or by estimating from raw turn text using this server's existing token counter. Cost is always computed server-side from current pricing, never trusted from the caller. A malformed entry (no usable tokens/text on one side, or an unresolvable model_name) is reported as its own per-entry failure and does not fail the rest of the batch. Idempotent like record_usage — resubmitting the same entries (same request_id, or the same session_id/model/occurred_at/token-or-text when request_id is omitted) is a no-op. Recorded usage is then readable via analyze_session_usage and GET /usage/session/{session_id}.",
"inputSchema": {
"properties": {
"entries": {
"description": "Usage entries to import, one per turn/call in the session",
"items": {
"properties": {
"input_text": {
"description": "Raw input/prompt text — used to estimate input_tokens via this server's token counter when input_tokens isn't known",
"type": "string"
},
"input_tokens": {
"description": "Exact input token count, if known",
"minimum": 0,
"type": "integer"
},
"model_name": {
"description": "Name of the LLM model used for this entry",
"type": "string"
},
"occurred_at": {
"description": "Unix timestamp when this call happened (default: now)",
"type": "number"
},
"output_text": {
"description": "Raw output/response text — used to estimate output_tokens via this server's token counter when output_tokens isn't known",
"type": "string"
},
"output_tokens": {
"description": "Exact output token count, if known",
"minimum": 0,
"type": "integer"
},
"request_id": {
"description": "Optional idempotency key. When omitted, a deterministic one is derived from session_id/model_name/occurred_at/token-or-text source so resubmitting the same entry is safely a no-op",
"type": "string"
}
},
"required": [
"model_name"
],
"type": "object"
},
"maxItems": 500,
"minItems": 1,
"type": "array"
},
"org_id": {
"description": "Optional organisation ID to attribute this usage to",
"type": "string"
},
"session_id": {
"description": "Shared session ID to tag every entry in this batch with",
"type": "string"
}
},
"required": [
"session_id",
"entries"
],
"type": "object"
},
"name": "import_session_usage",
"outputSchema": null
},
{
"description": "List all registered budget-spend webhook alerts with their IDs and settings.",
"inputSchema": {
"properties": {},
"required": [],
"type": "object"
},
"name": "list_budget_alerts",
"outputSchema": null
},
{
"description": "List stored chat conversation sessions with their IDs, last-updated timestamp, turn count, and a preview of the most recent user message. Use this when the user asks to see their past conversations or chat history.",
"inputSchema": {
"properties": {
"limit": {
"default": 20,
"description": "Maximum number of conversations to return (default: 20, max: 100)",
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"name": "list_conversations",
"outputSchema": null
},
{
"description": "List all registered price-change webhook alerts with their IDs and settings.",
"inputSchema": {
"properties": {},
"required": [],
"type": "object"
},
"name": "list_price_alerts",
"outputSchema": null
},
{
"description": "Optimise a multi-task LLM workload by assigning the cheapest qualifying model to each task instead of running everything through one model. Takes a list of workloads (task type + monthly volume + optional quality floor and capability requirements) and returns a per-task model allocation, the total monthly cost, and the saving versus the best single-model deployment. If a monthly budget is given, leftover headroom is spent on the most cost-efficient quality upgrades. Use when the user asks how to cut LLM spend across several task types, or whether tiered model routing is worth it.",
"inputSchema": {
"properties": {
"min_quality_score": {
"description": "Global quality floor (0-100) applied to every workload",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"monthly_budget_usd": {
"description": "Total monthly budget in USD. Leftover headroom is spent on the most cost-efficient quality upgrades.",
"exclusiveMinimum": 0,
"type": "number"
},
"workloads": {
"description": "One entry per task type in the workload mix",
"items": {
"properties": {
"avg_input_tokens": {
"default": 500,
"description": "Average prompt size in tokens (default: 500)",
"minimum": 1,
"type": "integer"
},
"avg_output_tokens": {
"description": "Average completion size in tokens. Derived from the task profile when omitted.",
"minimum": 1,
"type": "integer"
},
"label": {
"description": "Friendly name for this workload in the output",
"type": "string"
},
"min_context_tokens": {
"description": "Minimum context window required for this task",
"minimum": 1,
"type": "integer"
},
"min_quality_score": {
"description": "Quality floor (0-100) for this task specifically",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"monthly_requests": {
"description": "Expected requests per month for this task",
"minimum": 0,
"type": "integer"
},
"require_function_calling": {
"default": false,
"description": "Task needs tool/function calling (default: false)",
"type": "boolean"
},
"require_vision": {
"default": false,
"description": "Task needs image input (default: false)",
"type": "boolean"
},
"task_type": {
"description": "Task category driving the input/output token ratio",
"enum": [
"classification",
"extraction",
"summarization",
"qa",
"code_generation",
"translation",
"chat",
"content_generation",
"reasoning",
"function_calling",
"data_analysis",
"rewrite"
],
"type": "string"
}
},
"required": [
"task_type",
"monthly_requests"
],
"type": "object"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"workloads"
],
"type": "object"
},
"name": "optimize_workload",
"outputSchema": null
},
{
"description": "Predict the real cost of an LLM call from your actual prompt text — no need to know token counts in advance. Counts tokens locally, infers the task type (or accepts one explicitly), estimates output length from empirical I/O profiles, and returns all models ranked cheapest-first with effective cost after prompt-cache savings. Also surfaces the best quality-per-dollar pick. Use this before making any LLM API call to avoid surprise bills.",
"inputSchema": {
"properties": {
"cache_hit_ratio": {
"default": 0,
"description": "Fraction of calls that hit the prompt cache (0–1). Set this if you have a large reusable system prompt. Supported providers: Anthropic (10% cache rate), OpenAI (50%), Google (25%). Default: 0",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"min_context_tokens": {
"description": "Minimum context window size required in tokens (optional)",
"minimum": 1,
"type": "integer"
},
"prompt": {
"description": "The actual prompt text to cost-estimate (required)",
"type": "string"
},
"require_function_calling": {
"default": false,
"description": "Only include models that support function/tool calling (default: false)",
"type": "boolean"
},
"require_vision": {
"default": false,
"description": "Only include models that support image/vision input (default: false)",
"type": "boolean"
},
"task_type": {
"description": "Task type for output-length estimation. Auto-inferred from prompt if omitted. Options: classification, extraction, summarization, qa, code_generation, translation, chat, content_generation, reasoning, function_calling, data_analysis, rewrite",
"enum": [
"classification",
"extraction",
"summarization",
"qa",
"code_generation",
"translation",
"chat",
"content_generation",
"reasoning",
"function_calling",
"data_analysis",
"rewrite"
],
"type": "string"
},
"top_n": {
"default": 10,
"description": "Number of models to return, ranked cheapest-first (default: 10, max: 50)",
"maximum": 50,
"minimum": 1,
"type": "integer"
}
},
"required": [
"prompt"
],
"type": "object"
},
"name": "predict_cost",
"outputSchema": null
},
{
"description": "Recommend the optimal LLM model from a free-text description of your use case — no need to already know the routing engine's task_type vocabulary. Classifies the description into a task type, then runs it through the same routing engine behind /router/recommend (live pricing + benchmark quality, hard filters for cost/quality/context window, scored by quality-per-dollar). Returns the best match plus up to 3 alternatives. Read-only — use predict_cost first if you also want per-model cost estimates for an actual prompt, and optimize_workload if you have several distinct task types to route at once.",
"inputSchema": {
"properties": {
"avg_input_tokens": {
"default": 500,
"description": "Average input tokens per request (default: 500)",
"minimum": 1,
"type": "integer"
},
"avg_output_tokens": {
"default": 200,
"description": "Average output tokens per request (default: 200)",
"minimum": 1,
"type": "integer"
},
"description": {
"description": "Free-text description of the use case, e.g. 'summarize long customer support tickets' or 'generate Python unit tests'",
"type": "string"
},
"estimated_monthly_requests": {
"default": 1000,
"description": "Estimated requests per month (default: 1000)",
"minimum": 1,
"type": "integer"
},
"exclude_reasoning_models": {
"default": false,
"description": "Exclude slow thinking/reasoning models (default: false)",
"type": "boolean"
},
"ide_context": {
"description": "IDE context hint — boosts IDE-native tools: 'copilot' | 'cursor' | 'windsurf' | 'claude_code' | 'jetbrains' | 'amazon_q'",
"type": "string"
},
"max_cost_per_1m_tokens": {
"description": "Maximum acceptable average cost per 1M tokens (USD)",
"minimum": 0,
"type": "number"
},
"min_context_window": {
"description": "Minimum required context window size (tokens)",
"minimum": 0,
"type": "integer"
},
"min_quality_score": {
"description": "Minimum required quality score (0-100)",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"monthly_budget_usd": {
"description": "Monthly spend ceiling in USD. Combined with estimated_monthly_requests, avg_input_tokens, and avg_output_tokens to hard-filter models that would exceed it.",
"exclusiveMinimum": 0,
"type": "number"
},
"prefer_low_latency": {
"default": false,
"description": "Prioritise lower-latency models (default: false)",
"type": "boolean"
},
"preferred_provider": {
"description": "Preferred provider name (10% score boost applied)",
"type": "string"
},
"task_type": {
"description": "Optional explicit task type, bypassing auto-classification of the description. Options: classification, extraction, summarization, qa, code_generation, translation, chat, content_generation, reasoning, function_calling, data_analysis, rewrite",
"enum": [
"classification",
"extraction",
"summarization",
"qa",
"code_generation",
"translation",
"chat",
"content_generation",
"reasoning",
"function_calling",
"data_analysis",
"rewrite"
],
"type": "string"
}
},
"required": [
"description"
],
"type": "object"
},
"name": "recommend_model",
"outputSchema": null
},
{
"description": "Record actual token usage for a completed LLM call. Cost is computed server-side from current pricing, never trusted from the caller — this is the 'actual spend' counterpart to estimate_cost's hypothetical numbers. Optionally scope to an org_id for per-org spend tracking. Resubmitting the same request_id for the same org is a no-op. Use when the user wants to log or track real LLM spend, not just estimate it.",
"inputSchema": {
"properties": {
"input_tokens": {
"description": "Number of input tokens actually used",
"minimum": 0,
"type": "integer"
},
"model_name": {
"description": "Name of the LLM model that was called",
"type": "string"
},
"occurred_at": {
"description": "Unix timestamp when the call happened (default: now)",
"type": "number"
},
"org_id": {
"description": "Optional organisation ID to attribute this usage to",
"type": "string"
},
"output_tokens": {
"description": "Number of output tokens actually used",
"minimum": 0,
"type": "integer"
},
"request_id": {
"description": "Optional idempotency key — resubmitting the same value is a no-op",
"type": "string"
},
"session_id": {
"description": "Optional session ID to tag this event with, so it can later be grouped and retrieved via analyze_session_usage — e.g. a bounded burst of calls like a coding-agent run or a chat session",
"type": "string"
}
},
"required": [
"model_name",
"input_tokens",
"output_tokens"
],
"type": "object"
},
"name": "record_usage",
"outputSchema": null
},
{
"description": "Register a webhook URL to receive notifications when actual recorded spend (from record_usage) crosses a USD threshold within a rolling window. Optionally scope to a specific org_id (omit for total spend across all orgs). Fires at most once per period_days while spend stays over threshold. Returns the alert ID.",
"inputSchema": {
"properties": {
"org_id": {
"description": "Organisation to monitor. Omit for total spend across all orgs.",
"type": "string"
},
"period_days": {
"default": 30,
"description": "Rolling look-back window for the spend check, in days (default: 30)",
"type": "integer"
},
"threshold_usd": {
"description": "Spend level in USD that triggers the alert",
"type": "number"
},
"url": {
"description": "Webhook URL to POST when the alert fires",
"type": "string"
}
},
"required": [
"url",
"threshold_usd"
],
"type": "object"
},
"name": "register_budget_alert",
"outputSchema": null
},
{
"description": "Register a webhook URL to receive notifications when a model's price changes by more than a specified percentage. Optionally scope the alert to a specific provider or model. Returns the alert ID.",
"inputSchema": {
"properties": {
"model_name": {
"description": "Limit to a specific model name. Omit for all models.",
"type": "string"
},
"provider": {
"description": "Limit to a specific provider (e.g. 'openai'). Omit for all.",
"type": "string"
},
"threshold_pct": {
"default": 5,
"description": "Minimum absolute % price change to trigger the alert (default: 5.0)",
"type": "number"
},
"url": {
"description": "Webhook URL to POST when the alert fires",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"name": "register_price_alert",
"outputSchema": null
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:6824b808bda2b485d1cc366fce73045cbe58a5a5840ed47e6e3bd85236bcd508 | sha256sum