Skip to main content
Glama

Field Service Business Platform by Doing Work

media_map

Photos with a GPS location as a GeoJSON FeatureCollection (points in longitude, latitude order), ready for a map. Takes the same filters as media.list.

Input Schema

NameRequiredDescriptionDefault
qNoWords to find in what agents said the photo or video shows: summary, readable text such as serial numbers, findings and video transcripts
kindNoOnly photos or only videos
sortNoDefault uploaded; distance needs near_lat and near_lng
limitNo
job_idNoOnly photos on this job. Leave out to search every photo you can see.
shop_idNo
near_latNoLatitude of a point; with near_lng and radius_m, only photos taken within radius_m of it
near_lngNo
radius_mNoSearch radius in meters (default 200, max 50000)
taken_afterNoISO date or time: photos taken at or after this
has_locationNoOnly photos with (true) or without (false) GPS
taken_beforeNoISO date or time: photos taken before this
summary_statusNo

Output Schema

NameRequiredDescriptionDefault
typeYes
featuresYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full load. It does disclose the output shape and the longitude/latitude ordering, which is genuinely useful and prevents a common agent error. However it omits whether result volume is bounded by the default limit, how sorting/ordering affects the collection, and whether photos without GPS are silently excluded.

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 waste, with the output format and coordinate order front-loaded before the filter-parity note. Nothing could be trimmed without losing information.

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?

An output schema exists, so return values need not be described, and the description correctly covers the shape and coordinate convention that an agent must know to render a map. For a 13-parameter, annotation-free query tool it is close to complete, though a note on default limit behavior and the implicit GPS filter would close the remaining gap.

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 69%, which sits in the mid band, so the schema does much of the work. The description adds only a pointer that filters match media.list, without clarifying the undocumented parameters (limit, shop_id, near_lng, taken_before, summary_status) or the interaction between has_location and the tool's inherent GPS restriction.

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 the specific verb and resource: returns photos that have GPS as a GeoJSON FeatureCollection, with the coordinate order spelled out. It distinguishes itself from media_list by naming the representation ('ready for a map') and by deferring filtering to media.list's filter set, so an agent knows this is the geo-export variant.

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?

'ready for a map' implies the when-to-use case (mapping spatially-located photos), but there is no explicit guidance on when NOT to use it – e.g. that media_list/media_search should be used when no map/GeoJSON is needed. The reference to media.list only explains filter parity, not tool selection.

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.

Resources