Skip to main content
Glama

craigslist_locations

Read-only

Resolve a latitude and longitude (both required) to the Craigslist area and subarea that serve it, with the nearest city, state or country code, postal code and search radius. area_slug is the area value of craigslist_search and the other Craigslist tools.

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": {
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "craigslist_locations"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesRequired. Latitude, -90 to 90.
lonYesRequired. Longitude, -180 to 180.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered; the description adds the concrete return payload (area, subarea, nearest city/state or country, postal code, radius) and the required-input constraint. It does not explain edge behavior such as coordinates outside any Craigslist region, which matters for an openWorld resolver, and idempotentHint=false goes unaddressed.

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, front-loaded with the core verb and inputs, followed by the output summary and the downstream-usage note. Nothing is redundant with the title or schema.

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?

A two-parameter lookup with full schema coverage, an output schema and safety annotations is well served by this description; the agent knows inputs, outputs and the downstream link. The only gap is handling of unresolvable coordinates, which is minor given the output schema exists.

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

Parameters3/5

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

Schema description coverage is 100% and the schema already documents lat (-90 to 90) and lon (-180 to 180) as required, so the description can only add marginal meaning. It confirms both are required and explains what the pair is used to resolve, but adds no formatting or precision guidance beyond the schema.

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 names a specific verb and transformation: resolve a lat/lon pair to the Craigslist area and subarea serving it, plus nearest city, state/country, postal code and search radius. It also ties the output to siblings by noting area_slug is the value used by craigslist_search. It stops short of explicitly contrasting itself with craigslist_areas or craigslist_nearby_postal, so an agent must infer the boundary.

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?

It makes the usage context clear: this is the coordinate-to-area resolver whose area_slug feeds craigslist_search and the other Craigslist tools, and it states both lat and lon are required. No when-not condition or named alternative (e.g. looking up by city name) is given, so the agent has context but no explicit exclusions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.