Skip to main content
Glama

Download Unit Attachment

download_unit_attachment
Read-onlyIdempotent

Download and READ a file on a unit — a title, bill of sale, inspection.

Covers both places a unit's paperwork is filed in Rent Manager: the attachments on the unit's HISTORY notes and the unit's File-type UDFs. Name the unit by unit_id, or property (shortname/property_id) plus unit_name. Pick the file by file_id (from list_unit_files) or udf_name, a substring of the UDF name, file name or History note (e.g. "title"). When the unit holds exactly one file, neither is needed. PDF pages are rendered so the contents can be read, not just saved.

For unit PHOTOS — the IMAGES tab or image UDFs — use get_unit_images.

``location`` (optional): a single Rent Manager Location ID. Required
when the connection has several Locations (see ``list_locations``);
this tool never fans out across Locations.

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": "download_unit_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
pagesNo
file_idNo
save_asNo
unit_idNo
locationNo
udf_nameNo
as_imagesNo
max_pagesNo
shortnameNo
unit_nameNo
property_idNo

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": "download_unit_attachmentOutput",
      -  "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": "download_unit_attachmentOutput",
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior. The description adds useful context beyond that: PDF pages are rendered so contents can be read, this tool never fans out across Locations, and location is required when the connection has several. It does not discuss rate limits, auth needs, or what happens when the file is missing, but with annotations covering the safety profile this is solid.

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 purpose and key routing guidance are front-loaded and every major sentence adds value. The formatting is slightly cluttered with backticks and line breaks, and the location paragraph could be tighter, but it is not bloated.

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?

For an 11-parameter tool with no output schema and zero schema description coverage, the description covers the core identification and location logic but does not explain the rendering and output-control parameters (pages, max_pages, as_images, save_as). An agent can identify the file but may not know how those options change behavior.

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 0% schema description coverage, the description must carry the parameter burden. It explains the identification parameters well (unit_id vs. shortname/property_id + unit_name, file_id from list_unit_files, udf_name as a substring match, and location behavior). However, it leaves several parameters unexplained, including pages, max_pages, as_images, and save_as, which are non-obvious given their defaults.

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?

States a specific verb and resource ('Download and READ a file on a unit') and gives concrete examples (title, bill of sale, inspection). It also names the two storage locations (History notes and File-type UDFs) and explicitly distinguishes itself from get_unit_images for photos.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Provides explicit when-to-use guidance: use this for unit paperwork, use get_unit_images for photos. It explains how to identify the unit (unit_id or property plus unit_name), how to select the file (file_id or udf_name substring), and that no selector is needed when exactly one file exists. It also states the location requirement when multiple Locations exist.

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