Skip to main content
Glama
ayatec

AI Gateway MCP Server

by ayatec

ask

Pose a question to a single AI model and get a direct answer, with no web search for real-time information.

Instructions

Ask a single AI model a question (no web search, cannot retrieve latest/real-time information). Default: openai/gpt-5.4 (flagship, $2.50/$15, 1.05M ctx). For multiple perspectives on a question, prefer research tool with mode:ask synthesize:false. For code: openai/gpt-5.3-codex. For mid-tier: openai/gpt-5.4-mini ($0.75/$4.50, strong reasoning). For cheaper: openai/gpt-5-mini ($0.25/$2) or google/gemini-3.1-flash-lite-preview ($0.25/$1.50). For cheap with coding: openai/gpt-5.4-nano ($0.20/$1.25). For cheapest: openai/gpt-5-nano ($0.05/$0.40).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoModel in provider/name format, e.g. 'openai/gpt-5.2-codex', 'anthropic/claude-sonnet-4.6'openai/gpt-5.4
contextNoAdditional context, e.g. code snippets, error messages, or background info
questionYesThe question to ask, e.g. 'Explain Rust lifetimes' or 'Compare REST vs GraphQL'
max_tokensNoMax output tokens. If set, output is hard-truncated at this limit (may cut off mid-response). Omit to let the model decide output length naturally. Only set when you need strict cost control. Reasoning models use tokens internally, so set 2x-3x higher than expected visible output
Behavior4/5

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

Since no annotations are provided, the description carries full burden. It discloses the no-web-search limitation, inability to retrieve latest/real-time info, and default model context. It also adds transparency about model pricing and trade-offs. Missing details like rate limits or output format, but the key limitations are covered.

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 description is front-loaded with the core purpose, then uses compact, structured lists for model tiers. It is a bit long due to multiple pricing/use-case entries, but each item is actionable and the colon-separated format makes it scannable. No wasted words.

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?

For a tool with 4 parameters and no output schema, the description covers purpose, limitations, and model selection thoroughly. It doesn't explain return values or error handling, but for an ask tool this is less critical. Auth/rate limits are not mentioned, but the context is sufficient for correct invocation.

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

Parameters4/5

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

Schema coverage is 100% with good descriptions of all parameters. The description goes beyond the schema by enriching the 'model' parameter with concrete model names, pricing, and suitability (e.g., gpt-5.3-codex for code, nano for cheapest). This adds substantial value for model selection.

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?

The description opens with 'Ask a single AI model a question' – a specific verb and resource. It explicitly states the scope (single model, no web search, no real-time info) and distinguishes from the research tool by directing multi-perspective questions elsewhere.

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

Usage Guidelines5/5

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

Provides explicit when-to-use vs alternatives: 'For multiple perspectives on a question, prefer research tool with mode:ask synthesize:false.' It also maps model choices to use cases (code, mid-tier, cheaper, cheapest), giving clear guidance on when to select each.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ayatec/ai-gateway-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server