Skip to main content
Glama

extract_metadata

Extract OpenGraph tags, JSON-LD, canonical URL, language, author, publish dates and the main image from a public web page.

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": {
      "url": "<url>"
    },
    "name": "extract_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) URL. / URL pública http(s).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / url / description
      Previous value: -"Public http(s) URL to extract"New value: +"Public http(s) URL. / URL pública http(s)."
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It does usefully disclose the extracted fields, effectively describing return content in the absence of an output schema, but says nothing about failure modes, missing tags, redirects, or whether fetching is live versus cached.

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?

A single dense sentence with zero filler, and the extracted-field enumeration is what an agent needs up front. It could be marginally improved by leading with the resource ("From a public web page, extract...") but nothing is wasted.

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?

For a one-parameter read tool with no output schema, the description compensates well by listing exactly what comes back. The remaining gap is behavioral: nothing about how failures on non-HTML or blocked pages are reported.

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?

Only one parameter, and the schema already documents it at 100% coverage including the public http(s) constraint. The description reinforces the same constraint ("public web page") but adds no new syntax or format detail, which is acceptable for a single fully-documented parameter.

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?

Specific verb ("Extract") plus a precise resource list: OpenGraph tags, JSON-LD, canonical URL, language, author, publish dates, main image. It clearly separates itself from extraction siblings like extract_tables by naming the metadata fields rather than table data, though it never explicitly names an alternative.

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

Usage Guidelines2/5

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

The only usage signal is the implicit constraint that the target must be a "public web page" (echoed by the schema's "Public http(s) URL"). There is no statement of when to prefer this over check_url or extract_tables, and no exclusions such as JS-rendered pages or non-HTML responses.

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