Skip to main content
Glama

get_current_location

Detect your current geographic coordinates for use with nearby camera search; uses CoreLocation on macOS and IP geolocation elsewhere.

Instructions

Detect the current geographic location. On macOS uses CoreLocation (WiFi-based, ~35m accuracy). Falls back to IP geolocation on other platforms. Use the returned coordinates with find_nearest_camera.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does real work: it discloses platform-dependent behavior, the underlying method (WiFi-based CoreLocation), an accuracy figure (~35m), and a fallback path. What it omits is permission/auth requirements on macOS and failure or timeout behavior, which an agent would want before calling.

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?

Three short sentences, front-loaded with the action, then implementation notes, then the handoff instruction. No filler or repetition.

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?

For a zero-parameter read tool this covers most of what matters: what it returns conceptually, how accurate it is, and how to use it next. The one gap is the shape of the returned coordinates (field names/format), which matters because there is no output schema to fall back on.

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

Parameters4/5

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

The tool takes zero parameters, so there is nothing for the description to disambiguate. Baseline 4 applies; the description correctly signals a no-argument call.

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?

States a specific verb and resource ('Detect the current geographic location') and no sibling tool in the catalog does location lookup, so it is unambiguous what this returns. The mechanism (CoreLocation on macOS, IP fallback elsewhere) further pins down the scope of the answer.

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?

The description gives a downstream chaining rule ('Use the returned coordinates with find_nearest_camera'), which is genuine usage guidance. However, it never states conditions for calling it — no mention of when location is unavailable, permission prompts, or what to do if it fails — and there is no alternative tool to contrast against.

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