Skip to main content
Glama

Structured Extract

structured_extract
Idempotent

Fill YOUR JSON schema from any URL (hybrid LLM + deterministic canonicalization). $0.03/call. Choose this when you have your OWN JSON schema to fill from any page; for company profiles use enrich_company or jp_company_profile.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesAbsolute http(s) URL of the input (web page or PDF, per tool)
schemaYes{key: description} pairs
x_paymentNoOptional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / url / description
      Added value: +"Absolute http(s) URL of the input (web page or PDF, per tool)"
  2. Changed2 schema fields changed
    • addedInput schema / properties / schema / description
      Added value: +"{key: description} pairs"
    • addedInput schema / properties / x_payment
      Added value: +{
      +  "description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged.",
      +  "type": "string"
      +}
  3. Added

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the hybrid execution model (LLM + deterministic canonicalization) and a concrete cost of $0.03/call. Since readOnlyHint=false and idempotentHint=true, adding cost and processing-mode context helps set expectations. It does not describe failure modes or rate limits, but the extra behavioral context is meaningful.

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?

Two sentences carry the full value: the primary action, the execution model, the price, and the routing guidance. It is compact, front-loaded, and every sentence earns its place.

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 3-parameter tool with no output schema, the description plus input schema cover what an agent needs to select and invoke it: input URL, user schema, payment semantics, and alternatives. Minor omissions like output format details are acceptable because the tool's purpose implies returning the filled JSON.

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 the schema already documents url and schema well. The description adds context that the schema is user-provided, but it does not need to compensate for missing parameter documentation. This meets the baseline for high coverage.

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?

The description states a specific verb-resource pair: fill YOUR JSON schema from any URL. It also distinguishes itself from company-profile tools by explicitly naming enrich_company and jp_company_profile as alternatives, making the tool's unique role unambiguous.

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?

It gives explicit guidance: choose this when you have your own JSON schema to fill from any page, and use enrich_company or jp_company_profile for company profiles. This directly tells an agent when to select this tool over siblings.

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