Skip to main content
Glama
Browser MCP Server

Browser MCP Server

get_page_summary

Retrieve a compact page summary with title, URL, headings, and element counts to inspect browser page structure while minimizing token usage.

Instructions

Ultra-compact page summary: title, URL, headings, element counts. Minimal tokens.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_page_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden, and it does disclose the return shape (title, URL, headings, element counts). It says nothing about what happens when pageId is omitted or invalid, or how errors surface — gaps for a tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two front-loaded fragments, zero filler in the payload list. The trailing 'Minimal tokens.' largely restates 'Ultra-compact', a small redundancy against an otherwise tight structure.

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

Completeness3/5

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

For a simple single-parameter read tool with no output schema, the core is covered by the output enumeration. What is missing — default page resolution and behavior on a bad pageId — matters because nothing else in the definition supplies it.

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 single pageId parameter has 0% schema description coverage and is not marked required, yet the description never mentions it or says which page is read by default (presumably the active one). The sparse parameter count keeps this from being worse, but the description adds no meaning beyond the bare schema.

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?

Specific: it names the resource (page) and enumerates what the summary contains (title, URL, headings, element counts), so an agent knows exactly what it gets back. It does not explicitly distinguish itself from get_page_content, get_page_html, or get_accessibility_tree, which is the missing step for a 5.

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?

'Ultra-compact' and 'Minimal tokens' imply a usage condition — reach for this when context budget is tight rather than pulling full content. But there is no explicit when-to-use/when-not statement or named alternative, so the routing must be inferred.

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