Skip to main content
Glama

Octolane

list_record_files

Read-only

List files on an account, contact, or deal (object_type opportunity). Paginated with at most 50 files per page and next_cursor; continue whenever it is non-null, including empty pages after bounded scanning. Each call examines at most 1000 candidates in chunks of 100. include_related preserves Files-panel account/contact visibility. Each result includes source_object, folder_id and association_id. Carry association_id into remove_record_files; never print it to the user. Use that actual source_object for reads or an explicitly authorized owning-record unlink. Recursive discovery is bounded to 8 folder levels. No URLs are returned. In AI chat, native file cards provide Open and Download. Do not duplicate them in tables or expose file IDs, handles, or internal references in prose. Distinguish copies by filename, source record, and conversation context instead.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "object_type": "<object_type>",
      "object_id": "<object_id>"
    },
    "name": "list_record_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo
folder_idNo
object_idYes
recursiveNo
session_idNoThe ID of the task this call belongs to. Leave it out on your first call. On every later call for the same task, send the ID an earlier result gave you, and pass it to any subagent working on that task.
object_typeYes
include_relatedNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.9/5.0
Behavior4/5

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

Goes well beyond the readOnly/non-destructive annotations: it discloses page size caps (50), the 1000-candidate scan budget in chunks of 100, the 8-level recursion bound, that no URLs are returned, and that association_id is sensitive and must never be printed. The one weak spot is the garbled sentence about using source_object "for reads or an explicitly authorized owning-record unlink," which muddies an otherwise strong disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Core purpose and pagination rules are front-loaded, but the paragraph runs long with several independent concerns (scan budget, privacy rules, chat UI rendering advice) packed into dense run-on sentences. The AI-chat file-card instructions are tangential to invoking the tool and dilute the signal.

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-parameter, no-output-schema read tool, the description supplies return fields (source_object, folder_id, association_id), pagination termination logic, and safety constraints on sensitive identifiers. Missing pieces are minor: folder_id's meaning and a clear statement of what a result set looks like beyond three named fields.

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

Parameters5/5

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

With only 13% schema description coverage, the description carries the load and mostly delivers: it explains limit ("at most 50 per page"), cursor/next_cursor continuation, recursive's 8-level bound, include_related's Files-panel effect, and object_type's three valid values. Only folder_id is left semantically unexplained.

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?

Opens with a specific verb and resource: "List files on an account, contact, or deal (object_type opportunity)," and even clarifies the enum mapping for deals. It does not explicitly differentiate from the sibling read_record_files, so it falls short of a 5.

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

Usage Guidelines3/5

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

Gives real operational guidance: continue paginating whenever next_cursor is non-null, carry association_id into remove_record_files, and use include_related for Files-panel visibility. However, it never states when to choose this over read_record_files or add_record_files, leaving the main alternative implicit.

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