Skip to main content
Glama

List files in a workspace

tarkle_list_files
Read-onlyIdempotent

List files already in a workspace library (newest first), with fileId, type, size, sha256 when Tarkle recorded one, and their tags and description. query matches the file name and, where descriptions exist, the description. tag lists only files with that tag, anywhere in the library (see tarkle_list_tags). Use the fileId values with tarkle_read_file, tarkle_get_download_link or tarkle_create_transfer. When nextCursor is returned, more files may follow: call again with the same inputs and that cursor. A short page, or one that shows no files, is not the end while nextCursor is there (files private to someone else are left out).

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": {
      "workspaceId": "<workspaceId>"
    },
    "name": "tarkle_list_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoOnly list files that have this tag, anywhere in the library. Tags come from tarkle_list_tags.
limitNoHow many files to return per page. Defaults to 25.
queryNoText to look for in file names and, where files have one, descriptions.
cursorNoThe nextCursor of the previous answer, to get the next page. Keep the other inputs the same.
folderIdNoOnly files directly in this folder (from tarkle_list_folders). Omit for the whole library.
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
workspaceIdYesThe workspace's id, from tarkle_list_workspaces.

Output Schema

NameRequiredDescriptionDefault
filesNo
noticeNo
nextCursorNo
privateNotOpenedNo

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?

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile needs no repeating. The description adds genuinely behavioral facts beyond that: newest-first ordering, the nextCursor pagination contract, the warning that a short or empty page is not the end, and the note that files private to someone else are omitted. That omission note is a useful permission-related disclosure, though auth/permission requirements are otherwise left implicit.

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-loads the core purpose and return fields, then moves to filtering, downstream use, and pagination in a logical order with zero filler sentences. It is dense but every clause carries information; the parenthetical about private files and the run-on pagination sentence are the only mild readability costs.

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 an output schema present, the description needn't explain return shape, yet it still names key fields helpfully. For a filtered-list tool with a pagination contract, the important operational detail — looping on nextCursor even when a page looks short — is covered. The remaining gap is that the boundary against tarkle_search_files is left for the agent to infer.

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?

Schema coverage is 100%, so every parameter already documents itself, including query, tag, cursor and folderId. The description largely restates those semantics ('query matches the file name', 'tag lists only files with that tag') rather than adding new meaning. Its only marginal addition is the operational instruction to reuse the same inputs alongside nextCursor.

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?

Names a specific verb and resource ('List files already in a workspace library') with scope (newest first) and lists the fields returned (fileId, type, size, sha256, tags, description). It is clearly a listing tool, distinguishable from read/get-download-link siblings by its explicit handoff sentence. It stops short of naming tarkle_search_files as the alternative for content-based lookup, so it does not fully separate itself from every sibling.

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?

Gives concrete downstream guidance ('Use the fileId values with tarkle_read_file, tarkle_get_download_link or tarkle_create_transfer') and points to tarkle_list_tags for tag discovery. It explains how query and tag filtering are meant to be used. It does not state when to prefer this over tarkle_search_files, leaving one alternative unaddressed.

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.