Skip to main content
Glama

Download Attachment

download_attachment
Read-onlyIdempotent

Download and READ a Rent Manager attachment by FileID.

Returns lease documents and other files attached to a record. PDFs are rendered page-by-page so their contents can be read, not just saved, including scanned signed leases.

FileIDs come from get_tenant_notes (leases are usually filed on tenant History/Notes), get_unit_notes / list_unit_files (titles and other files on a unit), get_check_attachments / get_credit_card_attachments / get_journal_attachments (invoice scans filed on a payment or GL entry), get_tenant_udfs, or get_property_udfs. The parent-record arguments tenant_id, unit_id, check_id, bill_id, credit_card_transaction_id and journal_id identify the record the file hangs off; they apply when the FileID did not come from a listing earlier in the same conversation.

Long documents are returned in page chunks (pages="1-40", then pages="41-80", and so on); the result says which pages came back and what range is available next.

``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_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
pagesNo
bill_idNo
file_idNo
save_asNo
unit_idNo
check_idNo
locationNo
as_imagesNo
max_pagesNo
tenant_idNo
journal_idNo
credit_card_transaction_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / unit_id
      Added value: +{
      +  "default": 0,
      +  "title": "Unit Id",
      +  "type": "integer"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "title": "Result"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "download_attachmentOutput",
      -  "type": "object"
      -}New value: +null
  3. 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_attachmentOutput",
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, and non-destructive, and the description still adds substantial behavior beyond them: PDFs are rendered page-by-page so scanned signed leases are readable, long documents come back in page chunks with an explicit next-range indicator, and the tool never fans out across Locations. These are exactly the operational traits an agent needs to plan multi-call pagination.

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 verb and purpose, then ordered from FileID sourcing to parent arguments to pagination to location — a sensible progression. The FileID-source list is dense but each entry earns its place by telling the agent where to look next; the minor cost is length, not waste.

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?

With 12 parameters, no output schema, and zero schema coverage, this tool needed a long description and got one, covering sourcing, scoping, pagination, and location semantics. The gaps are the unexplained save_as/as_images/max_pages knobs, which matter for an agent that wants images versus extracted pages but are left to guesswork.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must carry parameter meaning and it largely does: file_id, pages (with concrete '1-40' then '41-80' syntax), location, and the six parent-record identifiers are all explained, including when the parent arguments are needed. Three parameters — save_as, as_images, and max_pages — are never mentioned, so the compensation is substantial but incomplete.

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 ('Download and READ a Rent Manager attachment by FileID') and adds that PDFs are rendered page-by-page for reading rather than merely saved. It does not distinguish itself from similarly named siblings such as download_unit_attachment, download_property_attachment, or download_invoices, so an agent still has to infer which downloader fits the record type.

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?

Strong operational guidance: it enumerates exactly which tools produce FileIDs (get_tenant_notes, get_unit_notes, get_check_attachments, etc.), explains that parent-record arguments only apply when the FileID was not obtained from a listing earlier in the conversation, and states the location requirement with list_locations as the reference. It stops short of stating when to prefer this tool over the record-specific download_* siblings, leaving one genuine ambiguity.

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