Skip to main content
Glama

Combine Google Maps links

combine_map_links
Read-only

Merge several Google Maps directions links into one link with all stops in order, to get past the 10-stop limit per route. Short links are expanded. When one route ends where the next starts, the shared stop is kept once.

Input Schema

NameRequiredDescriptionDefault
urlsYesDirections links, in travel order
mergeOverlapNoKeep a stop shared by the end of one route and the start of the next only once (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds real behavioral detail beyond that — short links are expanded (implying outbound fetching), order is preserved, and overlapping endpoint stops are deduplicated. It does not cover failure modes for invalid or unreachable links, which is the remaining gap.

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, all load-bearing: purpose and motivation first, then two behavioral guarantees. No filler or restatement of the tool name.

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?

No output schema exists, and the description does at least indicate the result is a single combined link. It stops short of specifying the exact return form (URL string vs. object) or error behavior when a link cannot be expanded, a minor gap for an otherwise simple two-parameter tool.

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 100%, with both parameters documented including the minItems 2 / maxItems 25 bounds. The description reinforces ordering ("all stops in order") and the overlap rule, but the latter merely restates the mergeOverlap schema text, so it adds little beyond the schema — baseline 3.

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 ("Merge several Google Maps directions links into one link") plus the motivating constraint (10-stop limit per route). It is clearly distinguishable from the sibling list_link_stops, and the output shape (one combined link) is stated up front.

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 an explicit trigger condition: use this to get past the 10-stop limit per route. It also notes that short links are accepted/expanded, which prevents an agent from pre-resolving them. No explicit when-not or named alternative, so not a 5.

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