Skip to main content
Glama

page_get_url

Retrieve the current URL of a browser tab by providing its target ID. Use this to verify navigation state or capture the active page address.

Instructions

Get the current URL of a tab.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetIdYesTarget ID of the tab

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It states the tool is read-only, but gives no insight into what happens if the targetId is invalid, whether it can return null, or any error behavior. Minimal behavioral context beyond the action itself.

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?

The description is a single, compact sentence that is front-loaded with the verb and resource. It has no waste, though it lacks useful context.

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?

While the tool is simple, without any annotations or output schema, the description should at least hint at what is returned (like a string URL) or prerequisites (a valid tab). It is minimal and leaves critical details undocumented.

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%, so the schema already describes 'targetId' as 'Target ID of the tab'. The description adds no additional meaning beyond that, but given full coverage, baseline 3 is appropriate.

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 action ('Get') and the resource ('current URL of a tab'), which is specific enough. It doesn't explicitly differentiate from siblings, but no sibling tool has a similar purpose, so it's clear enough.

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, such as requiring a tab to be open or which targetId to use. It implies needing a tab context but does not state how to obtain a targetId or when it's appropriate.

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