Skip to main content
Glama

aip_resolve

Find the best AI provider for a task and get ranked, priced options before you commit a cent. Pass a known intent type (chat_completion, code_execution, code_generation, data_analysis, document_processing, image_generation, knowledge_search, prompt_optimization, text_to_speech, translation, utility, video_generation, web_search) for structured routing, or a plain-language query for semantic matching. Each match returns provider, model, live per-request price, and a ready-to-call endpoint. Free to call — no payment until you execute.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
intentYesThe intent type (e.g. chat_completion, image_generation)
featuresNoRequired features (e.g. streaming, function_calling, vision)
optimize_forNoOptimization preference: cost, quality, or latencyquality
max_price_usdNoMaximum acceptable price per request in USD (optional filter)

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and mostly meets it: it says the tool is free, does not execute or incur payment, and returns live price plus a ready-to-call endpoint. It adds value by describing what the result contains and implying a read-only lookup. It does not disclose auth needs, rate limits, or no-match behavior, so it is not a 5.

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?

Front-loaded with the core purpose and high-value usage context; every sentence contributes. However, the long parenthetical enumeration of all intent values duplicates the schema enum, adding redundancy that could have been trimmed or replaced.

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

Completeness3/5

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

The description is strong for a tool with no output schema: it names the return fields (provider, model, live price, endpoint) and the cost-safety behavior. But the plain-language-query instruction versus enum-only schema leaves a genuine invocation ambiguity, and details like auth and no-match behavior are absent. Overall it is close but not fully complete.

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

Parameters2/5

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

Schema description coverage is 100%, so a 3 baseline applies. The description adds the structured-routing vs semantic-matching distinction and lists valid intent values, but this conflicts with the input schema, which restricts intent to a strict enum with no free-text option — so an agent may attempt an invalid plain-language query. It also adds nothing about features, optimize_for, or max_price_usd beyond the schema.

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

Purpose5/5

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

Clearly identifies a specific verb and resource: find/resolve the best AI provider for a task and return ranked, priced options. It also separates itself from execution-oriented siblings by saying it happens 'before you commit a cent' and returns a ready-to-call endpoint. This distinguishes it from aip_estimate_cost and aip_execute_with_budget enough to orient an agent.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description establishes the intended moment to use the tool — before committing money or executing — and states that the call is free. It also explains the two input modes: structured intent or semantic query. It does not explicitly name sibling tools to use instead in other scenarios, so it stops short of full alternative routing.

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.

TDQS

A3.9/5.0
Disambiguation3/5

Most tools target distinct resources, but aip_estimate_cost and aip_resolve both provide pre-execution pricing, and chat overlaps with the chat intent inside aip_execute_with_budget. Descriptions clarify the differences reasonably well, but an agent could still pick the wrong one when estimating cost or sending a chat.

Naming Consistency4/5

Tool names mostly follow an imperative snake_case verb_noun pattern such as list_models, search_apis, and discover_agents, with AIP functions sharing an aip_ prefix. Minor deviations like 'chat' and 'aip_resolve' lacking object nouns are easy to predict and do not create confusion.

Tool Count5/5

With 9 tools, the set covers model listing, chat, AIP routing/execution, API discovery, and agent discovery without bloating. Each major workflow has a focused set of tools, and none feel unnecessary.

Completeness3/5

The AIP lifecycle is well covered — list intents, resolve, estimate cost, and execute with budget — and chat has list_models + chat. However, as an API Marketplace there is no direct call_api or invoke tool, and no publish/management surface, so search_apis and get_api_detail lead to an external action rather than completing the loop in-server.