Skip to main content
Glama

ai_ask

Read-only

AI ask (simple GET chat) — Ask the LLM a question with a plain GET request and get the answer back - no JSON body needed. Pass ?prompt= and optional ?system=. Price: $0.008 USDC (Base, via x402).

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": "ai_ask"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYesyour question or instruction
systemNooptional system prompt

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover read-only, non-destructive, open-world behaviour, and the description adds genuinely new context the annotations cannot express: the request is a GET with query parameters, and the call costs $0.008 USDC on Base settled via x402 — a payment/auth requirement an agent must know before calling. It does not cover rate limits, latency or error/payment-failure behavior, so it stops short of 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-loads the verb and mechanism, then parameters, then price — a sensible order with only minor redundancy against the title ('AI ask (simple GET chat)'). Every sentence carries information, though the phrasing is slightly chatty.

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?

Covers the essentials for a two-parameter, read-only inference tool: what it does, how to pass inputs, and the payment requirement. Missing pieces are the response shape (no output schema exists, so 'the answer back' remains vague) and what happens if the x402 payment fails or is declined.

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% and both parameters are documented there ('your question or instruction', 'optional system prompt'). The description only restates that they are passed as ?prompt= and optional ?system=, adding the transport detail but no new meaning about content or constraints, so baseline 3 applies.

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 concrete verb and resource: ask the LLM a question and get the answer back, with the distinguishing mechanism ('plain GET request, no JSON body needed'). It does not name the sibling ai_chat or explain how it differs, so an agent must infer that this is the lightweight GET variant rather than the POST one.

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?

Implies when to use it ('no JSON body needed', pass ?prompt= and optional ?system=), which is enough for an agent building a bare URL call. It gives no explicit when-not or comparison to ai_chat, so alternative selection is left to inference.

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