Skip to main content
Glama

GigSoul x402

analyze-document

Evaluate a document or article and say what to do about it: a short summary plus key insights, weaknesses or gaps, and concrete recommendations. Use when you need judgment or next steps. For a neutral digest only, use summarize-document (cheaper). For customer complaints inside a text, use extract-pain-points. URLs are not fetched; paste the text. Pay-per-call: $0.05 USDC on Base via x402. Without a payment-signature header the call returns an error whose data carries the payment terms.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoThe document text, or the question the analysis should answer. Example: Paste the document text here, plus the decision it should inform.
contextNoOptional: the document text plus the reader's goal (e.g. 'investor memo - decide whether to follow up').

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Optional supporting text or content to analyze"New value: +"Optional: the document text plus the reader's goal (e.g. 'investor memo - decide whether to follow up')."
    • changedInput schema / properties / query / description
      Previous value: -"The question or input for this tool. Example: paste the document text or URL here"New value: +"The document text, or the question the analysis should answer. Example: Paste the document text here, plus the decision it should inform."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

No annotations are present, so the description carries the behavioral burden, and it does so thoroughly. It discloses the URL limitation, the pay-per-call cost, the payment-signature header requirement, and what happens if that header is missing (error whose data carries payment terms).

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 dense but efficient: purpose and output are front-loaded, then usage guidance, then alternatives, then input constraint and payment behavior. Every sentence adds distinct information and nothing feels redundant.

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?

Given no annotations and no output schema, the description covers what the tool returns, when to use it, what inputs are expected, a key limitation (URLs not fetched), and the payment/error contract. An agent has enough to decide whether and how to call it correctly.

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%, with both query and context already explained and exemplified. The description adds little new parameter-level meaning beyond reinforcing that text should be pasted rather than a URL, so 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 names a specific verb and resource ('Evaluate a document or article') and defines the output: summary, key insights, weaknesses/gaps, and concrete recommendations. It also explicitly differentiates from summarize-document and extract-pain-points by naming what they do instead.

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 states exactly when to use the tool ('when you need judgment or next steps') and gives explicit alternates with conditions: 'For a neutral digest only, use summarize-document (cheaper)' and 'For customer complaints inside a text, use extract-pain-points.' It also warns that URLs are not fetched and text must be pasted.

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