Skip to main content
Glama

Diffbot Extract

diffbot_extract
Read-onlyIdempotent

Extract the structured content (title, text, author) from , Diffbot analyzes any web page and returns its type, title, cleaned body text, author, publish date, site name, and language. Example: diffbot_extract({ url: "https://example.com/article", _apiKey: "your-token" })

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "https://techcrunch.com/2024/01/15/ai-startup-raises-funding/",
      "_apiKey": "your-diffbot-api-key"
    },
    "name": "diffbot_extract"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL to extract structured content from, e.g. "https://example.com/article"
_apiKeyYesDiffbot API token (free 10,000-credit tier, no card, at diffbot.com)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-diffbot-api-key",
      +    "url": "https://techcrunch.com/2024/01/15/ai-startup-raises-funding/"
      +  }
      +]
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and non-destructive behavior, so safety is covered. Because there is no output schema, the description's listing of returned fields (type, title, cleaned body text, author, publish date, site name, language) is genuinely valuable behavioral context about the response shape.

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?

The definition is short and front-loaded, leading with the verb, resource, and key return fields. The trailing example largely duplicates the example already present in the input schema, which is the only minor waste.

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?

With no output schema, the description does a reasonable job describing return values, which is what an agent most needs here. However it omits anything about how large pages or failures are handled and provides no routing guidance among the many sibling tools.

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 both parameters (url and _apiKey) are already fully documented including the free-credit tier note. The description restates the url parameter in prose and repeats the call shape with an example, adding formatting context but no new semantic detail beyond the schema.

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 gives a specific verb and resource ("Extract the structured content ... from <url>") and enumerates the returned fields (title, text, author, publish date, site name, language), so an agent knows exactly what the tool produces. It stops short of naming a sibling such as diffbot_company to explain when this page-extraction tool differs from the company-specific 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?

Usage is only implied: the description says it analyzes "any web page" and gives an example call, so an agent can infer this is the tool for pulling article/page content. There is no explicit when-to-use versus when-not-to-use guidance and no mention of alternatives or prerequisites beyond the API key hint.

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.