Skip to main content
Glama

chrome_set_geolocation

Override a Chrome tab's geolocation by setting latitude, longitude, and optional accuracy so location-dependent pages and tests run with controlled coordinates.

Instructions

Override geolocation

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": {
      "latitude": "<latitude>",
      "longitude": "<longitude>"
    },
    "name": "chrome_set_geolocation"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabIdNo
accuracyNo
latitudeYes
longitudeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, yet it provides none beyond the word "override." It does not say whether the override persists across navigation, whether it applies to a specific tab or all tabs, what permissions or prior state are needed, or how to clear it — significant gaps for a state-changing emulation call.

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

Conciseness2/5

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

It is certainly short, but that brevity is under-specification rather than economy: three words cannot front-load the required inputs or the emulation semantics. There is no wasted wording, but there is also nothing to structure.

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

Completeness1/5

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

For a four-parameter, state-changing browser-emulation tool with no annotations and no output schema, the definition omits essentially everything an agent needs: parameter roles, tab scoping, persistence, and reset behavior. It is far short of complete.

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

Parameters1/5

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

Schema description coverage is 0% and the description mentions none of the four parameters. Latent meanings — tabId being optional while latitude/longitude are required, and accuracy defaulting to something unspecified — are entirely undocumented, so an agent gets no help beyond bare types.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Override geolocation" names a verb and a resource, so an agent can tell it relates to browser geolocation emulation and distinguish it from siblings like chrome_set_timezone or chrome_set_user_agent. However, it never states the scope (per-tab vs. global) or what an override means in practice (supplying fake coordinates to page APIs), leaving the purpose only vaguely defined.

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 prerequisites, and no mention of alternatives such as whether to pair it with chrome_emulate_device or chrome_set_timezone. Usage is only inferable from the tool name itself.

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