Skip to main content
Glama

List Property Units

list_property_units
Read-onlyIdempotent

List all units (lots/spaces) in a property with UnitID and Name.

``location`` (optional): a Rent Manager Location ID, a comma-separated
list, or ``"all"`` to run across every Location on this connection (see
``list_locations``). Blank = all Locations if the connection has several,
else its only Location. Output is labelled per Location; a Location that
can't be reached is listed as skipped. IDs (property, tenant, ...) belong
to one Location, so pass that Location when you filter by one.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_property_units"
  }
}

Input Schema

NameRequiredDescriptionDefault
locationNo
shortnameNo
property_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / location
      Added value: +{
      +  "default": "",
      +  "title": "Location",
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered. The description adds genuinely useful behavior the annotations cannot express: fan-out across multiple Locations, per-Location labelled output, and partial failure where an unreachable Location is reported as skipped. It says nothing about pagination or result size limits, which is a meaningful gap for a list-across-all-locations fan-out.

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?

The lead sentence front-loads purpose and returned fields, then details location semantics. Dense but almost every clause carries information; the parenthetical '(see ``list_locations``)' and the trailing ID-scoping sentence both earn their place.

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?

An output schema exists, so return values need not be explained, and the multi-Location behavior is well covered. Completeness is undercut by the two undocumented parameters and by the absence of any note on result volume when running across every Location.

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 0%, so the description carries the full burden. It handles 'location' thoroughly including the "all" and blank-default cases, but 'shortname' and 'property_id' are never mentioned, leaving two of three parameters with no semantic guidance anywhere.

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 ('List all units (lots/spaces) in a property') and names the fields returned (UnitID and Name), so the agent knows exactly what it gets. It cross-references list_locations but does not differentiate itself from the similarly named list_properties, so sibling disambiguation is only partial.

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 clear operational context: location can be a single ID, a comma-separated list, or "all", and blank resolves to all Locations or the only Location. It also tells the agent to pass a Location when filtering by a Location-scoped ID. It stops short of naming an alternative tool to use when the agent wants a different shape of unit data.

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