Skip to main content
Glama

Find places in a job's data

find_places
Read-onlyIdempotent

Filter places collected by a completed job by text, category, ratings, reviews, contact details, opening hours, and distance from a point to answer local search questions without running new jobs.

Instructions

Filter the places a finished job collected: text, category, rating, reviews, website/phone, open at a time of day, distance from a point. Free (no new runs). Use it to answer questions like 'late-night dentists near downtown', then alternatives() for similar places.

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": {
      "job_id": "<job_id>"
    },
    "name": "find_places"
  }
}

Input Schema

NameRequiredDescriptionDefault
nearNo
sortNo
textNoSubstring of name, category or address
limitNoDefault 20
job_idYes
open_atNo24h time, e.g. '21:00'
categoryNo
has_phoneNo
open_daysNoDays for open_at, e.g. ['friday'] (default any day)
max_ratingNo
min_ratingNo
has_websiteNo
min_reviewsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds genuinely new behavior: the call is 'Free (no new runs)' and operates on a 'finished job' — both material to an agent deciding whether to call it. It omits return shape and pagination behavior beyond the limit cap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, capability first then usage, with zero filler. The comma-separated facet list is dense and slightly reads as a schema echo, but it is doing work given the low schema description coverage.

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?

For a 13-parameter filter tool with no output schema, the definition covers the query semantics but never hints at what comes back (place fields, ordering, result count behavior). Adequate to invoke, not fully complete for interpreting results.

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 coverage is only 31% across 13 parameters, so the description must compensate, and it does partially by mapping facets to parameters (text, category, rating, reviews, website/phone, open_at, distance). However it says nothing about sort, limit defaults, the open_days coupling with open_at, or the nested 'near' object's required lat/lng/radius_m, leaving real gaps.

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 ('Filter') and a precisely scoped resource ('the places a finished job collected'), then enumerates the filter facets (text, category, rating, reviews, website/phone, open_at, distance). It also distinguishes itself from the sibling alternatives(), which serves a different purpose ('similar places').

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 concrete use case ('late-night dentists near downtown') and a follow-on routing rule ('then alternatives() for similar places'), plus the implicit prerequisite that the job must be finished. It does not state when NOT to use it or what to do if the job is still running, but the positive guidance is clear.

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