Skip to main content
Glama

Agency detail

kl_agency
Read-onlyIdempotent

Retrieve a Kilid real-estate agency's address, district, location point, active listings, and agent count by agency ID from agency or listing data.

Instructions

Get a Kilid real-estate agency: address, district, location point, active listings and agent count.

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": {
      "agency_id": "<agency_id>"
    },
    "name": "kl_agency"
  }
}

Input Schema

NameRequiredDescriptionDefault
agency_idYesAgency id from kl_agencies or a listing's agency_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds value by specifying what data comes back (address, district, coordinates, active listing count, agent count), which is meaningful since there is no output schema. It does not cover failure behavior for a nonexistent id, which keeps it below 5.

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?

A single front-loaded sentence that names the resource first and then lists the payload fields. No redundant wording or 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 one-parameter read tool with no output schema, enumerating the returned fields makes the definition largely self-sufficient. Only edge-case behavior (unknown or malformed id) is left implicit.

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% and the agency_id description already names its sources and format pattern. The tool description adds no further meaning about the parameter, so the baseline of 3 applies.

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?

Specific verb ('Get') plus specific resource ('Kilid real-estate agency') and an enumeration of the fields returned (address, district, location point, active listings, agent count). This clearly separates it from the sibling kl_agencies, which is a collection tool, since this one takes a single agency_id.

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?

The single-agency framing plus the parameter note ('Agency id from kl_agencies or a listing's agency_id') routes the agent to the right sibling for discovery and back here for detail. There is no explicit when-not-to-use statement, but the usage context is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.