Skip to main content
Glama

FMF Tools Doc Tools

url_metadata

URL metadata / link preview ($0.001 per call, paid via MPP on Tempo). Fetch a URL and return its link-preview metadata: final URL, HTTP content type, title, description, canonical, language, Open Graph and Twitter card fields, favicon, feeds, JSON-LD types, and word count. Static fetch, max 3 MB. HTTP POST https://mpp-docs.fmf-x402.workers.dev/mpp/url/metadata. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "url_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoPublic URL of the file
dataNoBase64 file content (alternative to url)
filenameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does add real behavioral context: paid call, static fetch, 3 MB cap, known POST endpoint, and the explicit warning that the wrapper does not settle payment itself. It does not disclose error modes (non-200 responses, redirect handling, oversized pages) or whether the call is billed on failure, which matters for a pay-per-call 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?

Front-loads the purpose and the returned-field list, then follows with cost, endpoint, and payment mechanics. Dense but every sentence carries information; only the raw HTTP endpoint string is arguably boilerplate for an MCP caller.

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 list the returned metadata fields, which is appropriately complete. However it omits the shape of the response (flat JSON object vs nested Open Graph struct) and leaves two of three parameters unexplained, so an agent cannot fully anticipate the result.

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 67%, so the schema already documents most parameters. The description mentions only 'Fetch a URL' and never explains the data (base64 content, alternative to url) or filename params, nor the mutual exclusivity between url and data — leaving a gap the schema alone only partially covers.

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?

States a specific verb+resource ('Fetch a URL and return its link-preview metadata') and enumerates the returned fields (final URL, content type, title, Open Graph/Twitter fields, JSON-LD types, word count), so an agent knows it is a metadata extractor rather than a converter like html_markdown. It does not explicitly name or contrast any sibling tool, so differentiation is only implicit.

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?

Gives a clear usage prerequisite: the call requires an MPP Payment Authorization header or the mppx HTTP route, and states the per-call cost of $0.001. It does not say when to prefer this over content-extraction siblings, but the conditions for making a successful call are spelled out.

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