Skip to main content
Glama

set_location

Set a selected iOS device's simulated location on a supported backend, with sensitive-action approval required before applying the device-wide override.

Instructions

Set the selected device's simulated location on a supported backend. Obtain sensitive-action approval before applying the device-wide override.

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

Input Schema

NameRequiredDescriptionDefault
altitudeNo
latitudeYes
device_idNo
longitudeYes
timeout_msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior4/5

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

Beyond the annotations (readOnly=false, openWorld=true, idempotent=false, destructive=false), it discloses two meaningful behaviors: an approval gate for a sensitive action and that the change is a device-wide override. It stops short of saying whether the location persists until cleared or what happens if approval is denied.

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?

Two sentences, zero padding, with the core action front-loaded and the approval prerequisite following immediately. Every clause carries information.

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?

The approval gate and backend constraint cover the risky part of the operation, but with a five-parameter schema at 0% description coverage the definition leaves coordinate format, altitude units, and timeout_ms semantics unexplained. Absence of an output schema means a brief note on whether the override takes effect immediately would have helped.

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% across five parameters, and the description documents none of latitude, longitude, altitude, or timeout_ms. The phrase 'selected device' weakly implies device_id defaults to the current device, but that is the only added meaning and the remaining parameters are undocumented in both schema and prose.

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 gives a specific verb and resource ('Set the selected device's simulated location'), plus a qualifier ('on a supported backend') that scopes where it applies. It is clearly distinguishable from a generic device action, though it does not name the obvious sibling clear_location as its counterpart.

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?

It states a precondition (obtain sensitive-action approval) and implies the tool only works on supported backends, which frames when it is usable. However, it never says when to prefer this over clear_location or how to handle an unsupported backend, leaving usage selection partly to inference.

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