Skip to main content
Glama

Retrieve Compact Context

retrieve_context
Read-only

Retrieve compact, citation-verifiable context from public HTML. Costs $0.005 USDC via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesPublic HTTP or HTTPS page to retrieve.
questionNoTask or question used to rank relevant passages.
max_tokensNo
max_price_usdNo
freshness_secondsNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the agent knows it's a safe read operation. The description adds the cost aspect ($0.005 USDC via x402) and the 'citation-verifiable' output quality, which are useful behavioral details beyond the annotations. However, it doesn't disclose other behaviors like rate limits or failure handling.

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 short sentences and gets straight to the point, with no fluff. Every word adds value.

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

Completeness2/5

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

With 5 parameters and no output schema, the description is insufficiently detailed. It doesn't explain how parameters interact, what the output structure looks like, or how pricing works relative to max_price_usd. The sibling tool is not mentioned, limiting contextual understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 40%; only 'url' and 'question' have descriptions. The description does not explain the remaining three parameters (max_tokens, max_price_usd, freshness_seconds). Since coverage is below 50%, the description should compensate but doesn't.

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?

The description clearly states the function: 'Retrieve compact, citation-verifiable context from public HTML.' It specifies a verb, resource, and output characteristics. However, it does not explicitly distinguish itself from sibling tool 'quote_context', so it misses the chance to clarify when to choose this over the 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?

No guidance is provided on when to use this tool versus the sibling 'quote_context'. The description only states the action and cost, without any context on use cases or exclusions.

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
Disambiguation5/5

Each tool has a clear, distinct purpose: one provides a quote without retrieving the page, and the other performs the actual retrieval. There is no overlap or ambiguity between them.

Naming Consistency5/5

Both tool names follow the same verb_noun pattern (quote_context, retrieve_context), using consistent snake_case. This makes the tool naming predictable and easy to understand.

Tool Count3/5

With only 2 tools, the server feels minimal. While the narrow domain could justify a small set, this is borderline and might limit flexibility for more complex use cases.

Completeness5/5

The server covers its core workflow completely: quote first, then retrieve. There are no obvious gaps for the stated purpose of relaying context from public HTML with a cost quote.

Resources