Skip to main content
Glama

ask_chatgpt

This tool allows you to send a prompt to OpenAI's ChatGPT via ScrapingBee and get back the generated response.

Scope: one query per call. To run many queries in one pass, or to write results to disk instead of into the conversation, use the ScrapingBee CLI — scrapingbee <command> --input-file queries.txt --output-dir results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagNoResponse-header label only.
promptYesThe prompt to send to ChatGPT.
searchNoWhether to enable web search capability for the prompt.
add_htmlNoWhether to include the full HTML of the page in the results.
country_codeNoISO country code the request should originate from (affects web results when search is enabled).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses that results go 'into the conversation' and hints at HTML inclusion via the schema, but doesn't cover auth requirements, rate limits, or error behavior of the scraping layer. Adequate but incomplete for a mutation-by-proxy tool.

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?

Two short paragraphs, front-loaded with the core purpose, then the scope/alternative note. Efficient, though the CLI sentence with a full command is slightly tangential to calling this tool.

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?

Output schema exists so return-value explanation isn't required. For a 5-param tool with no annotations, the description covers purpose and routing well; the main gap is behavioral detail (permissions, quotas) that an agent would need before relying on it at scale.

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 parameter (tag, prompt, search, add_html, country_code) is already documented in the schema. The description adds no parameter-level detail beyond what the schema provides, so the baseline 3 applies.

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

Purpose5/5

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

States a specific verb (send a prompt) and resource (OpenAI's ChatGPT via ScrapingBee) with clear output (generated response). The one-query scope further distinguishes it from batch alternatives like the CLI.

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

Usage Guidelines5/5

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

Explicitly frames the single-query scope and names the alternative (ScrapingBee CLI) for batch operations with a concrete command example. This is exactly the when-to-use/when-not guidance that helps an agent route correctly.

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