Skip to main content
Glama

Locate2u MCP by usefulapi

Get a trip by id

locate2u_get_trip
Read-only

Get one trip by id with its stops. Locate2u API: GET /trips/id/{id}.

Input Schema

NameRequiredDescriptionDefault
trip_idYes
include_linesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

readOnlyHint=true already declares this is a safe read. The description adds real value by disclosing that the response embeds stops, which shapes how an agent uses the result. It says nothing about permissions, error behavior when the id is unknown, or the effect of include_lines, so the added context is modest.

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 short, front-loaded sentences with no filler; the payload note comes first and the endpoint detail second. The raw endpoint string is marginally redundant but cheap.

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?

With no output schema and no annotations beyond readOnly, the description gives only a hint of the return shape ('with its stops'). For a two-parameter tool it is serviceable, but the include_lines flag and expected response envelope remain undocumented.

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%, so the description carries the burden, but it only implicitly covers trip_id via the URL template. The include_lines boolean — likely the difference between a lightweight and a heavy response — is completely unexplained in both schema and description.

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 a specific verb and resource ('Get one trip by id') and notes that stops are included in the result, which distinguishes it from list-style siblings like locate2u_list_team_trips. It does not explicitly contrast with the near-sibling locate2u_get_driver_trip, but the id-based single-resource scope 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 Guidelines3/5

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

Usage is only implied: fetch a single trip when you have its id. There is no explicit when-to-use/when-not guidance and no pointer to alternatives such as locate2u_get_driver_trip or locate2u_list_team_trips for retrieving trips without an id.

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.