Skip to main content
Glama

List a property's, place's or task's files

list_files
Read-only

Retrieve the documents and photos attached to a property, location, maintenance task, or completed task by supplying its ID.

Instructions

The documents and photos kept with a property (the deed, the insurance policy), a place (a room's inspection report), a maintenance task (a quote, and the invoices of the times it was done) or one time it was done — each with what was read in it. Give exactly one id. An item's files are in get_item; to find files by words use search_inventory; to see one use get_photo. Changes nothing.

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_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
doneIdNoOr one time a task was done (doneId from complete_maintenance)
taskIdNoOr a maintenance task's id, from list_maintenance
locationIdNoOr a place's id, from list_locations
propertyIdNoA property's id, from list_locations

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2026.11.14

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and 'Changes nothing' restates that rather than adding to it. The genuinely additive disclosure is the return content shape ('each with what was read in it') and the mutual-exclusivity rule, which the schema does not enforce since nothing is required. Pagination and result limits are not covered, keeping it below a 5.

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 purpose, then the exclusivity rule, then the alternative routing — a sensible order with no filler. The parenthetical examples are illustrative rather than essential, and 'each with what was read in it' is slightly cryptic, so it stops short of maximal tightness.

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?

No output schema exists, and the description does cover the return shape (files plus extracted text). For a four-way scoped read tool that is largely sufficient, though it says nothing about volume, ordering, or whether file contents/download handles are returned.

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 coverage is 100%, so the baseline is 3; the description earns more by adding the cross-parameter constraint 'give exactly one id', which the schema itself does not express (no required list, no oneOf). It also names parent context for each id type, though the per-parameter provenance is already in the schema descriptions.

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 resource and scope: documents and photos attached to a property, place, maintenance task, or a single occurrence of a task, plus the text extracted from each. It also explicitly distinguishes itself from get_item, search_inventory, and get_photo, so an agent can pick it without opening any schema.

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?

Gives explicit routing: items' files live in get_item, keyword search belongs to search_inventory, viewing a single file is get_photo. Combined with the 'exactly one id' rule, the when-to-use and when-not-to-use conditions are fully stated.

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