Skip to main content
Glama

Ask ChatGPT

chatgpt
Read-onlyIdempotent

Ask ChatGPT (chatgpt.com, as a logged-out user, searching the web) and get its answer as Markdown with the sources it cited, products and places it showed. For AI visibility: what ChatGPT tells people. 4 credits; takes 10-30 s; free if it fails. If it fails with upstream_timeout saying the answer is being finished in the background, call again with the same arguments within 10 minutes to receive it.

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

Input Schema

NameRequiredDescriptionDefault
trackNoBrands or domains to check the answer for (mentions: named in the text, cited, listed as a source or product)
promptYesThe message to the assistant (up to 4,000 characters)
countryNoAsk from this country, e.g. us, de, gb (answers, prices and shops follow it)
timeout_msNoGive up after this many milliseconds (default 118000) with a free upstream_timeout; set it under your tool-call timeout
web_searchNoMake it search the web (default true); false lets it decide

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / timeout_ms / description
      Previous value: -"Give up after this many milliseconds (default 90000) with a free upstream_timeout; set it under your tool-call timeout"New value: +"Give up after this many milliseconds (default 118000) with a free upstream_timeout; set it under your tool-call timeout"
    • changedInput schema / properties / timeout_ms / maximum
      Previous value: -90000New value: +118000
  2. Changed1 schema field changed
    • addedInput schema / properties / timeout_ms
      Added value: +{
      +  "description": "Give up after this many milliseconds (default 90000) with a free upstream_timeout; set it under your tool-call timeout",
      +  "maximum": 90000,
      +  "minimum": 5000,
      +  "type": "integer"
      +}
  3. Changed4 schema fields changed
    • addedInput schema / properties / country
      Added value: +{
      +  "description": "Ask from this country, e.g. us, de, gb (answers, prices and shops follow it)",
      +  "type": "string"
      +}
    • addedInput schema / properties / prompt
      Added value: +{
      +  "description": "The message to the assistant (up to 4,000 characters)",
      +  "type": "string"
      +}
    • addedInput schema / properties / track
      Added value: +{
      +  "description": "Brands or domains to check the answer for (mentions: named in the text, cited, listed as a source or product)",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
    • addedInput schema / properties / web_search
      Added value: +{
      +  "description": "Make it search the web (default true); false lets it decide",
      +  "type": "boolean"
      +}
  4. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (which only declare read-only, open-world, idempotent, non-destructive), the description discloses cost (4 credits), latency (10-30 s), billing behavior on failure (free), and the asynchronous completion semantics behind upstream_timeout. That is exactly the kind of operational context annotations cannot carry.

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

Conciseness5/5

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

Front-loaded with the core action and result, then the use case, then cost/latency, then the retry procedure. It is dense but every clause carries non-redundant information; nothing repeats the schema or annotations.

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

Completeness5/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 takes responsibility for describing the return value (Markdown, cited sources, products, places) and also covers timing, cost, and recovery from the one failure mode the agent must handle. Nothing needed to invoke it correctly is absent.

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 coverage is 100%, so each of the five parameters is already documented with meaning and constraints, making 3 the baseline. The description adds only marginal parameter context ('searching the web' implying the web_search default; return fields hinting at what track covers) without explaining country codes, track semantics, or the timeout interaction beyond what the schema states.

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 names a specific verb and target ('Ask ChatGPT ... and get its answer') and pins down the configuration (chatgpt.com, logged-out user, web search) plus the exact return shape (Markdown with cited sources, products, places). It is distinct from gemini/copilot/brave_ai by naming ChatGPT explicitly, though it never names a sibling to contrast against.

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?

It supplies a clear motivating use case ('For AI visibility: what ChatGPT tells people') and concrete operational guidance for the failure path (retry with identical arguments within 10 minutes on upstream_timeout). What is missing is any when-not guidance or a pointer to a sibling such as gemini or ai_mode for cross-assistant comparison.

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.