Skip to main content
Glama

Ask a Duck

ask_duck
Read-only

Query a specific LLM provider or model with a prompt and optional images to get answers or alternative perspectives. Use it for multi-provider research, vision prompts, or rubber duck debugging.

Instructions

Ask a question to a specific LLM provider (duck)

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_duck"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoSpecific model to use (optional, uses provider default if not specified)
imagesNoOptional images to include with the prompt (for vision-capable models)
promptYesThe question or prompt to send to the duck
providerNoThe provider name (optional, uses default if not specified)
temperatureNoTemperature for response generation (0-2)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.20.14
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / images / items / additionalProperties
      Removed value: -false
  2. Addedv1.19.6
  3. Removedv1.19.5
  4. Changed4 schema fields changedv1.2.3
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / images
      Added value: +{
      +  "description": "Optional images to include with the prompt (for vision-capable models)",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "description": "Base64-encoded image data",
      +        "type": "string"
      +      },
      +      "mimeType": {
      +        "description": "MIME type (e.g., \"image/png\") — required for base64 data, optional for URLs",
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "Image URL — passed directly to the LLM provider",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / provider / enum
      Added value: +[
      +  "openai",
      +  "google",
      +  "groq",
      +  "ollama"
      +]
  5. First observedv1.0.0

TDQS

C2.5/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety and open-world profile is covered. The description adds almost nothing on top: it does not say whether the call is stateless or conversation-scoped, whether images require a vision-capable model, or anything about latency/cost across providers.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single front-loaded sentence with no padding, but the brevity comes at the cost of substance – nothing about the 'duck' concept or the alternatives is conveyed.

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

Completeness2/5

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

For a tool with five parameters that sits in a crowded family of duck-related tools, the description leaves key questions unanswered: what a 'duck' is, whether state persists between calls, and how this differs from chat_with_duck. Schema richness compensates for parameter detail but not for tool-selection context.

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

Parameters3/5

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

Schema description coverage is 100%, so every parameter (prompt, model, provider enum, images, temperature) is already documented in the schema. The description adds no syntax, defaulting rules, or model-vs-provider interaction detail beyond that baseline.

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

Purpose3/5

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

The sentence names the verb (ask a question) and resource (a specific LLM provider), but the parenthetical '(duck)' is never explained and the scope overlaps heavily with siblings such as chat_with_duck and compare_ducks. An agent cannot tell from this text alone which of those to pick.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus chat_with_duck (stateful?) or compare_ducks (multi-provider), and no stated prerequisites such as needing a valid provider/model. The only hint is the optional 'provider' enum.

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