Skip to main content
Glama

Nearby programs

nearby_programs
Read-only

Programs within a radius in miles of a latitude and longitude point.

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>",
      "lng": "<lng>"
    },
    "name": "nearby_programs"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes
lngYes
limitNo
radius_milesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds only the units (miles) and the geo-filter nature; it says nothing about default radius, maximum result behavior, result ordering, or pagination. That is marginal added value on top of annotations.

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?

A single front-loaded sentence with no wasted words; the problem is under-specification rather than verbosity. It could still earn a fifth point by adding one short clause on defaults or the sibling alternative.

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?

With no output schema and zero schema description coverage, the definition should tell the agent what the defaults are and what comes back when the radius is wide or limit is hit. For a four-parameter geospatial query tool, the one-liner leaves the agent guessing on invocation-critical details.

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% across four parameters, so the description carries the burden, and it only echoes lat, lng and radius in miles without explaining defaults, valid ranges (0.5–50 miles, limit 1–30), or how limit interacts with radius truncation. It adds essentially no meaning beyond the parameter names themselves.

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 sentence states a concrete resource (programs) and a concrete filter (within a radius in miles of a lat/lng point), which is enough to distinguish it from non-geospatial siblings like org_list_programs or search_programs. It is a noun phrase rather than a verb, but the retrieval action is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to prefer this over search_programs or list_cities, no prerequisite or exclusion, and no note about what happens if radius_miles is omitted. The agent must infer usage purely from the tool name and the single-sentence scope.

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