Skip to main content
Glama

dompruner-mcp

dompruner_analyze

Read-onlyIdempotent

Returns a token-reduction analysis report for a URL. Shows render type (SSR/CSR/SSG), original vs refined token counts, reduction ratio, and top Semantic Anchors.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL to analyze.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
fetchMsYes
parseMsYes
renderTypeYesSSR, CSR, or SSG
topAnchorsYesTop 5 semantic section headings.
refinedTokensYes
originalTokensYes
reductionPercentYes

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, so the safety profile is covered. The description adds content details but no additional behavioral context like rate limits, auth, or errors. It doesn't contradict annotations, so a neutral 3 is appropriate.

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?

One clear sentence stating the purpose and listing key output components; no verbose or redundant information. Front-loaded with the action.

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 with one parameter, has output schema, and the description provides a useful overview of the report contents (render type, token counts, ratio). It's sufficient for this level of complexity. Could mention when to use vs fetch, but not critical for completeness.

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 coverage is 100% for the single parameter 'url' with description 'URL to analyze.' The description says

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, listing the specific outputs (render type, token counts, ratio, anchors). This distinguishes it from the sibling tool dompruner_fetch, which likely fetches raw content, making the purpose explicit and differentiating.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the tool is for analysis rather than fetching, but it doesn't explicitly state when to use it over dompruner_fetch or any exclusions. It's not misleading, but the guidance is only implied, not explicit.

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

A4.2/5.0
Disambiguation5/5

The two tools serve clearly distinct purposes: one fetches and prunes content, the other produces an analysis report. There is no overlap or ambiguity about which to use.

Naming Consistency5/5

Both tools follow the same verb_noun (or rather prefix_verb) pattern: 'dompruner_analyze' and 'dompruner_fetch'. The naming is perfectly consistent and predictable.

Tool Count4/5

With only two tools, the set is minimal but well-scoped for the narrow domain of DOM pruning and analysis. It is slightly below the typical 3-15 range, but the focused nature justifies the small count.

Completeness5/5

The tool pair covers the full lifecycle for its stated purpose: fetch/prune content and analyze the token reduction. There are no obvious missing operations; the surface is complete for the domain.