Skip to main content
Glama

ANJU Singapore Property Search

Commute time from a home

commute_time
Read-onlyIdempotent

Travel time from a home to a place the user names (office, school), by public transport (with legs and transfers), car, foot or bike, from OneMap for a typical departure. From an ANJU listing or any place; to a station, school, building, street or postal code. Examples: {"listing":"imp-3f9a…","to":"Raffles Place MRT"} · {"from_place":"Punggol","to":"NUS"}.

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": {
      "to": "<to>"
    },
    "name": "commute_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesWhere the user goes, in their words ("one-north", "018989"). Bad: "work" (not a place).
dayNo"weekday" (default, the next Monday-to-Friday), "saturday" or "sunday".
modesNoDefault ["public_transport","drive"].
listingNoA search result's "id" or "url" to start from. Give this OR from_place.
depart_atNo24-hour Singapore time, e.g. "08:30" (default). Public transport depends on it.
from_placeNoStart from a place instead: a station, town, school, address or postal code ("Bishan").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely useful context beyond that: results come from OneMap for a "typical departure", public transport results include legs and transfers, and public transport timing depends on departure time. It does not describe response shape or failure behavior, so it sits at an adequate-plus level.

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?

Front-loaded with the core purpose, followed by scope details and two compact JSON examples that earn their space by showing parameter pairing. Slightly dense run-on sentence structure, but no filler.

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?

For a six-parameter, no-output-schema tool, the description covers origin options, destination types, modes, and what public-transport results contain (legs and transfers). It leaves the return shape only loosely implied, but nothing critical to calling it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already carries the per-parameter burden, yet the description still adds real meaning: it reinforces the listing-OR-from_place exclusivity and shows paired values in two worked examples that demonstrate the intended combinations. It goes beyond restating the schema.

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+resource ("travel time from a home to a place") with concrete scope: modes, data source (OneMap), and both origins (ANJU listing or arbitrary place). An agent can tell this is the commute-estimation tool rather than a listing search, though it never names a sibling to contrast with.

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?

Explains usage context well: start from a listing or any place, destination can be a station, school, building, street or postal code, and two concrete invocation examples are given. It stops short of explicit when-not-to-use guidance or naming alternatives like compare_listings.

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.