Skip to main content
Glama

Ask another AI

ask_ai

Puts a question to another AI and returns its answer in its own words. ai: claude (Anthropic), chatgpt (OpenAI's GPT), gemini (Google), grok (xAI), deepseek, perplexity (answers from a web search, with its sources), mistral, qwen (Alibaba) or kimi (Moonshot). question: the whole question, with any details from the chat that the answer depends on. quality: standard, best (the maker's strongest model, slower) or fast. thread: from an earlier answer, for a follow-up in that conversation with the same AI or another one. Saved in the user's Puley history.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "question": "<question>",
      "ai": "<ai>"
    },
    "name": "ask_ai"
  }
}

Input Schema

NameRequiredDescriptionDefault
aiYes
threadNo
qualityNostandard
questionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that the exchange is persisted ('Saved in the user's Puley history'), which explains the readOnlyHint=false, and that perplexity answers from a web search with sources, consistent with openWorldHint=true. It still leaves the response shape and failure behavior unstated.

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 purpose is front-loaded in the first sentence and every subsequent clause maps to a parameter, so nothing is wasted. The parameter glossary is dense and runs together in a single block, which slightly hurts scanability.

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?

With no output schema, the description still conveys that the answer comes back in the other AI's own words, plus sources for perplexity and the history side effect. The main residual gap is the exact return format and what happens on an unknown 'ai' value or provider error.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden and does so for all four parameters: it enumerates the accepted 'ai' providers with their vendors, defines 'question' as the full question including dependent chat details, explains the three 'quality' levels with their latency tradeoff, and explains 'thread' as a follow-up handle from an earlier answer.

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

Purpose4/5

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

The description states a concrete verb and resource: it puts a question to another AI and returns that AI's answer in its own words. That is unambiguous. It does not differentiate itself from similarly named siblings such as ai_recommends or get_recommended_by_ai, so an agent must infer which AI-facing tool applies.

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

Usage Guidelines3/5

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

Usage context is implied rather than stated: 'thread' is explained as the way to continue an earlier conversation, and 'quality' flags that 'best' is slower. There is no explicit statement of when to pick this tool over a sibling, nor any when-not-to-use condition.

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.

Resources