Skip to main content
Glama

pilot_geolocation

Set or clear browser GPS coordinates to simulate a user's location for testing location-aware applications.

Instructions

Set or clear the browser's reported GPS coordinates to simulate a specific geographic location. Use when the user wants to test location-aware apps, see location-specific content, or simulate a user in a different country/city.

Parameters:

  • latitude: Latitude in decimal degrees (e.g., 19.4326 for Mexico City, 37.7749 for San Francisco)

  • longitude: Longitude in decimal degrees (e.g., -99.1332 for Mexico City, -122.4194 for San Francisco)

  • accuracy: Location accuracy in meters (default: 10)

  • clear: Set to true to remove the fake geolocation and revert to default behavior

Returns: Confirmation of the geolocation set or cleared.

Errors:

  • "Browser not launched": Navigate to a URL first.

  • Geolocation errors may occur if the page requires HTTPS for geolocation access.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latitudeNoLatitude in decimal degrees
longitudeNoLongitude in decimal degrees
accuracyNoAccuracy in meters (default: 10)
clearNoRemove fake geolocation
Behavior3/5

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

No annotations, so description carries full burden. Discloses simulation, clear option, and accuracy default. However, lacks details on persistence, page-specific effects, or HTTPS requirement beyond a brief error mention.

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?

Description is well-structured with sections (purpose, parameters, returns, errors). Every sentence adds value; no fluff or redundancy.

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

Completeness4/5

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

No output schema, but return behavior is described as confirmation. Errors are listed. The tool is simple, so completeness is high, though could mention whether location is overridden per session or permanently.

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

Parameters5/5

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

Schema covers all 4 params with descriptions. Description adds examples for latitude/longitude, clarifies default for accuracy, and explains clear behavior, providing significant added value.

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

Purpose5/5

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

Description clearly states verb 'Set or clear browser's reported GPS coordinates' with specific resource (geolocation). It distinguishes from siblings as no other tool simulates location.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Provides explicit use cases (testing location-aware apps, simulating different locations). Lacks explicit when-not-to-use or alternatives, but errors give some guidance (e.g., navigate first).

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TacosyHorchata/Pilot'

If you have feedback or need assistance with the MCP directory API, please join our Discord server