Skip to main content
Glama

chrome_get_url

Retrieves the current URL of a specified Chrome tab, enabling AI agents to identify or verify the active page.

Instructions

Get the current URL of a tab

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": "chrome_get_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. "Get" implies a read-only, side-effect-free operation, but nothing states what tab is targeted when tabId is omitted, what happens for a closed/invalid tab, or whether the call waits for navigation to settle — all relevant for a browser-automation tool.

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?

A single front-loaded sentence with no filler or redundancy. It is efficiently written; the briefness is a completeness problem rather than a verbosity problem.

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?

For a browser-automation tool with no annotations, no output schema, and zero parameter documentation, the description leaves too much unspecified: default tab resolution, error behavior, and return shape are all unstated. The tool is simple, but the definition is thinner than the call surface requires.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single parameter tabId has no description in the schema. The phrase "of a tab" weakly implies the tabId, but the description never explains its type, that it is optional (required count is 0), or what the fallback target is when it is omitted — a key behavior for a 0-required-param tool.

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?

"Get the current URL of a tab" names a specific verb (get) and resource (URL of a tab), so the operation is unambiguous. It does not differentiate itself from look-alike siblings such as chrome_get_page_info or chrome_get_html, which plausibly also surface URL-adjacent data, so it stops short of 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 Guidelines2/5

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

There is no when-to-use guidance, no mention of alternatives, and no stated prerequisite such as needing an active tab or a valid tabId. The agent is left to infer all selection criteria from the name alone.

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