Skip to main content
Glama

get-page-info

Reads a browser tab's current URL and title by page ID, enabling automation to verify the active page and its location.

Instructions

Read the current URL and title of a tab.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "pageId": "<pageId>"
    },
    "name": "get-page-info"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageIdYes
sessionIdNoBrowser session ID. Defaults to 'default'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden; it does establish that this is a read of the tab's current state (not a cached or historical value). It says nothing about what happens when the tab is closed, whether it waits for navigation to settle, or whether a missing pageId/session produces an error.

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?

A single eleven-word sentence with the verb and resource front-loaded and zero filler. Nothing redundant is included.

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 two-parameter read tool with no output schema, the description is adequate on purpose but under-specified on inputs and failure modes. An agent could call it, but might have to guess at pageId's expected value and at session scoping on its own.

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 50%: sessionId is documented in the schema (defaults to 'default'), while pageId has no schema description. The phrase "of a tab" partially compensates by implying pageId identifies which tab, but it never states the ID format or that sessionId selects the browser session. Baseline 3 given partial schema coverage.

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 sentence names a specific verb ("Read") and a specific resource ("the current URL and title of a tab"), so the agent knows exactly what data comes back. It does not differentiate itself from siblings like get-page-html, get-page-snapshot, or get-page-screenshot, leaving the agent to infer that this is the lightweight metadata call.

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?

There is no explicit when-to-use or when-not-to-use sentence, but the narrow return surface (URL + title only) implies the natural selection rule: use this when you need address/title rather than DOM, HTML, or pixels. No alternative is named and no prerequisite (e.g., an open session or loaded page) is stated.

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