Skip to main content
Glama

chatgpt_scraper

Send a prompt to ChatGPT and receive the full conversation as structured JSON with user and assistant roles. Optionally, retrieve the raw HTML page.

Instructions

Sends any prompt to ChatGPT and receives a structured JSON response including the full conversation with user and assistant roles. No browser automation required. [Credits: 30 API credits per successful request] Notes: Assistant content is returned as an array of structured content blocks (paragraph, numbered_list, etc.), not a single plain-text string. Returns: { conversation: [ { role: 'user'|'assistant', content: string | [ { type: 'paragraph', text } | { type: 'numbered_list', items[] } ] } ] }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
htmlNoSet to true to return the full HTML of the ChatGPT page instead of parsed JSON. (default: false)
promptYesThe prompt to send to ChatGPT (e.g., 'What is web scraping?'). The API returns the full conversation with user and assistant roles in structured JSON.
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses that no browser automation is required, the credit cost, and details of the return format (structured content blocks). However, it does not mention potential rate limits, error handling, or any required authentication.

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?

The description is concise with no wasted words. It is front-loaded with the core action, then provides key details (credits, return format) in a clear, well-structured manner.

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?

Given the tool has no output schema, the description adequately explains the return value. It covers credits and behavioral notes. It is mostly complete for a simple 2-parameter tool, though it could mention error scenarios or timeouts.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds value by explaining the return format and that the prompt is the input, providing context beyond the schema descriptions. It clarifies the structure of the response, aiding interpretation.

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?

Clearly states the tool sends a prompt to ChatGPT and returns a structured JSON conversation. The verb 'sends' and resource 'ChatGPT' are specific, and the description distinguishes from sibling tools that cover other platforms.

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?

The description implies use when you want a ChatGPT conversation, but does not explicitly state when to use this tool vs alternatives, nor does it mention when not to use it. The sibling context helps, but the description itself lacks guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alessandrobenigni/ScrapingDog-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server