Skip to main content
Glama

Get Unit Images

get_unit_images
Read-onlyIdempotent

Photos filed on one unit in Rent Manager.

Covers the Home > Property > Unit > IMAGES path from the RM desktop client — the unit photos site managers upload from the RM mobile app — and also photos filed on the unit's UDFs, which is where some operators keep them. Name the property by shortname (or property_id) and the unit by its label (or unit_id): get_unit_images(shortname="CAPEFEAR", unit_name="Lot 24").

Photos are returned as images and are also saved to the file store, so they can be assembled into a PDF or attached to an email. For a non-photo file on a unit UDF (a title, an inspection), use download_unit_attachment.

``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": "get_unit_images"
  }
}

Input Schema

NameRequiredDescriptionDefault
unit_idNo
locationNo
as_imagesNo
shortnameNo
unit_nameNo
max_imagesNo
property_idNo
include_udfsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "title": "Result"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "get_unit_imagesOutput",
      -  "type": "object"
      -}New value: +null
  2. Changed2 schema fields changed
    • addedInput schema / properties / location
      Added value: +{
      +  "default": "",
      +  "title": "Location",
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "result": {
      +      "title": "Result"
      +    }
      +  },
      +  "required": [
      +    "result"
      +  ],
      +  "title": "get_unit_imagesOutput",
      +  "type": "object"
      +}
  3. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint/idempotentHint/non-destructive, and the description adds useful behavior: images are both returned and persisted to the file store, output is labelled per Location, and unreachable Locations are reported as skipped. However it never explains the truncation effect of max_images (default 6) or what changes when as_images is false, which are the two behaviors most likely to surprise a caller. Note that 'also saved to the file store' is a mild side effect against readOnlyHint, though it does not modify Rent Manager data.

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?

Purpose and the sibling alternative are front-loaded, the example call is compact, and the location paragraph is separated as its own block. The location note is somewhat long and repeats ID-scoping advice that could be trimmed, but no sentence is 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 an 8-param, no-output-schema tool, the description covers sourcing, identification, location scoping, return-and-save behavior, and output labelling, which is most of what an agent needs. The remaining gap is the image-count cap and the as_images toggle, which affect results and cost but are unexplained.

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?

With 8 parameters and 0% schema description coverage, the description must carry the semantics, and it does well for shortname/property_id, unit_name/unit_id, and location (including the 'all'/blank/comma-list behavior and the skipped-location note), with a worked example. It gives no meaning for as_images or max_images, leaving two of eight parameters undocumented in both schema and description.

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?

The first line names the exact resource ('Photos filed on one unit in Rent Manager') and the body specifies the source paths (RM desktop IMAGES tab plus unit UDFs). It also explicitly contrasts itself with download_unit_attachment, so an agent can separate it from that sibling without opening a schema.

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?

It gives a clear when-to-use ('photos on a unit') and a concrete when-not with the correct alternative ('for a non-photo file on a unit UDF ... use download_unit_attachment'), plus a pointer to list_locations for the location parameter. It does not address nearby siblings such as get_vacant_unit_images or list_unit_files, so routing for adjacent cases is left to inference.

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