Skip to main content
Glama

dompruner_analyze

Get a token-reduction analysis for any URL: see render type, original vs refined token counts, and top semantic anchors. Identify LLM cost savings from DOM pruning.

Instructions

Returns a token-reduction analysis report for a URL. Shows render type, original vs refined token counts, and top Semantic Anchors.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL to analyze
Behavior2/5

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

There are no annotations, so the description carries full responsibility for disclosing side effects and operational behavior. It mentions the output but does not disclose that the tool likely fetches the URL (a network request), potential rate limits, failure modes for invalid URLs, or whether it is strictly read-only. Without this information, the agent cannot fully assess the tool's behavior.

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 sentences, front-loads the core action in the first sentence, and every word adds value. It efficiently communicates the report contents without waste.

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?

The tool is simple (one parameter, no output schema, no annotations), and the description provides a clear overview of the return type and contents. It does not fully specify the report structure or semantics of terms like 'Semantic Anchors', but for a single-URL analysis tool, the description is sufficiently complete to guide use.

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% (the single 'url' parameter is described as 'URL to analyze'), and the description also refers to 'URL', but it adds no additional meaning such as URL format expectations, accessibility requirements, or length limits. The baseline of 3 applies because the schema already documents the parameter fully.

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 returns a 'token-reduction analysis report for a URL', which is a specific verb+resource+target. It also lists the report contents (render type, original vs refined token counts, top Semantic Anchors), making the purpose unmistakable and distinguishing it from the sibling dompruner_fetch, which presumably fetches raw data.

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?

The description does not provide any guidance on when to use this tool versus alternatives. It merely states what it returns, with no mention of prerequisites, exclusions, or comparison to sibling tools like dompruner_fetch. The usage context is entirely absent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dong7812/dompruner-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server