Skip to main content
Glama

clear_location

Remove a simulated location override on a supported device and restore normal location behavior after location testing ends.

Instructions

Remove an existing simulated location override on a supported device. Use this when the location test ends to restore normal location behavior.

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

Input Schema

NameRequiredDescriptionDefault
device_idNo
timeout_msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=false, openWorldHint=true and idempotentHint=false, so the safety profile is covered. The description adds that the effect is to restore normal location behavior, but says nothing about what happens when no override exists, whether the device must be connected, or how timeout_ms affects the call.

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 short sentences, front-loaded with the action and followed by the trigger condition. Nothing is redundant or padded.

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 state-mutating device tool with two undocumented parameters and no output schema, the description omits too much: target-device selection, timeout behavior, and the no-op or error case when nothing is overridden are all left to inference.

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 description never mentions device_id or timeout_ms. With zero required parameters, an agent cannot tell whether the call targets the currently selected device or must be given an explicit device_id, and the timeout semantics are entirely undocumented.

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?

States a specific verb and resource: 'Remove an existing simulated location override on a supported device.' The contrast with the sibling set_location is inferable from 'restore normal location behavior,' but no sibling is named, so the differentiation is implicit rather than explicit.

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?

Gives a clear situational trigger: use it when the location test ends. There are no exclusions (e.g., what to do if no override is active) and no named alternatives, which keeps it short of a 5.

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