Skip to main content
Glama

AssayChain — Mineral Intelligence (USGS and Field Runs)

extract.estimate

Read-only

Free probe + price quote for paid structured-data extraction from a public document URL (pdf_digital, pdf_scanned, image, csv, txt). Returns estimate_id, source_type, page/row count, quality_floor grade (A/B/C/D), cost_breakdown {est_input_tokens, est_output_tokens, model_cost_usdc, margin_x, price_usdc}, and 15-min expires_at. Use the estimate_id with extract.run to pay via x402 USDC on Base. Honest grading: jobs returned as grade D receive an 80% auto-refund.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
source_urlYesPublic http(s) URL of the document to estimate. Max 10 MB.
source_typeNoOptional hint. Server auto-detects from MIME type if omitted.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsNo
errorNo
pagesNo
expires_atNo
estimate_idNo
source_typeNo
status_codeNo
quality_floorNoExpected grade: A, B, C, or D.
cost_breakdownNo

TDQS

A4.5/5.0
Behavior5/5

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

The annotations already mark the tool as read-only and non-destructive. The description adds valuable behavioral details: the estimate is free, expires in 15 minutes, returns a quality grade, and includes an auto-refund for grade D. It also explains the payment via x402 USDC on Base. These go well beyond the annotation hints.

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 two dense sentences that front-load the core purpose, then list return fields, the next step, and the refund policy. Every clause adds value, and there is no filler. It is appropriately structured for an AI agent to extract key info quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the tool's purpose, return payload (including nested cost_breakdown), expiry, refund policy, and integration with extract.run. With an output schema present, it does not need to detail every return field. This is a complete, self-contained description for the tool's complexity.

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?

The schema covers 100% of the parameters with descriptions (source_url with max size, source_type as an optional hint). The tool description repeats the source type list but does not add new semantics; it mainly provides workflow context. Given the high schema coverage, a baseline of 3 is appropriate.

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 clearly states the tool provides a free probe and price quote for extraction, enumerates supported document types, and explicitly distinguishes itself from extract.run by noting the estimate_id is used with that sibling. This makes the purpose unmistakable and differentiates it from related tools.

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?

The description provides a clear workflow: get an estimate, then use extract.run with the estimate_id. It also mentions the free nature and refund policy, giving context on when to use. However, it does not explicitly list any 'when not to use' scenarios or mention alternative tools like extract.result, so it's clear but not exhaustive.

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.

TDQS

A3.6/5.0
Disambiguation4/5

Most tools target distinct data domains (operations, claims, surveys, supply, ESG, extraction). The three benchmark.* tools are clearly grouped, and supply_resilience vs supply_share are distinct in focus. Minor overlap exists between earth_mri_focus_areas and geophysics_surveys, both covering geophysical survey data.

Naming Consistency2/5

Tool names mix snake_case (active_operations, blm_claims_data) with dotted namespaces (benchmark.commodity, extract.estimate, sales.ask). There is no consistent verb_noun pattern; many are noun phrases, some are verb-led. This inconsistency makes the API surface harder to learn.

Tool Count3/5

At 19 tools, the server spans a wide domain (commodity benchmarks, extraction workflow, ESG, supply chain, surveys). While each tool has a clear role, the count exceeds the typical well-scoped range, making the surface feel heavy for an MCP server.

Completeness4/5

The tool set covers most critical mineral intelligence functions: operations, claims, surveys, benchmarks, criticality, trade, stockpile, supply, ESG, search, and extraction. Missing a direct full-data retrieval tool (payments happen via external REST endpoints) and a consolidated commodity report tool, but the coverage is strong.

Resources