Skip to main content
Glama

ask

Run the same prompt on multiple AI models in parallel and collect all responses for verification, consensus, or review.

Instructions

Run the same prompt on multiple models in parallel and return all responses.

Use this for verification, consensus, and writing reviews. Pin subscription CLIs (claude, grok, gemini, codex) with model_ids or providers — they are never auto-picked, so a monthly plan is not spent by accident.

Args: prompt: The question or task to send to all models system_prompt: Optional system prompt applied to all models count: How many models to query in parallel (default 3) min_tier: Minimum quality tier for model selection (default "A") provider: Limit auto-pick to one provider (nvidia, groq, claude, …) providers: Explicit provider list, e.g. ["claude", "grok", "gemini"] model_ids: Explicit models, e.g. ["sonnet", "grok-4.6"] or "claude/sonnet" max_tokens: Max response tokens per model (default 4096) temperature: Sampling temperature (default 0.0 for deterministic)

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": {
      "prompt": "<prompt>"
    },
    "name": "ask"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNo
promptYes
min_tierNoA
providerNo
model_idsNo
providersNo
max_tokensNo
temperatureNo
system_promptNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.15.1
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / model_ids
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Model Ids"
      +}
    • addedInput schema / properties / providers
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Providers"
      +}
  2. First observedv0.7.0

TDQS

A4.2/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 burden and does disclose non-obvious behavior: parallel fan-out, all responses returned, default tier A selection, and the deliberate exclusion of subscription-backed models from auto-pick. It does not cover failure handling when an individual model errors, cost/latency implications of raising count, or what happens with a pinned provider that is not authenticated.

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 behavior in one sentence, followed by usage context and then a scannable Args block. Minor redundancy in restating schema defaults (count 3, max_tokens 4096, temperature 0.0), but those restatements carry interpretive value rather than pure repetition.

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 nine-parameter tool with no annotations, the definition covers selection semantics, defaults, and the subscription-CLI caveat, and an output schema exists so return-shape explanation is unnecessary. Gaps remain around per-model failure behavior and provider authentication prerequisites, which matter for a fan-out call.

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 coverage is 0%, so the description must compensate, and it documents all nine parameters with defaults and examples — including the subtle distinction between provider (narrow auto-pick), providers (explicit list), and model_ids (explicit models with 'claude/sonnet' syntax). The temperature default is explained as '0.0 for deterministic', adding meaning beyond the bare number.

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?

States a specific verb and resource: run the same prompt across multiple models in parallel and return all responses, naming the intended outcomes (verification, consensus, writing reviews). It is clearly distinguishable from narrower siblings like judge or evaluate, though it never explicitly contrasts with compare, which is the closest confusable alternative.

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?

Gives concrete when-to-use contexts (verification, consensus, review writing) and a notable conditional rule: subscription CLIs are never auto-picked, so pin them via model_ids or providers to avoid burning a monthly plan. There is no explicit statement of when to prefer a sibling such as compare or run instead.

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