Skip to main content
Glama

List workspace files

list_workspace_files
Read-only

List files and folders in the account's workspace — campaign folders, scripts, product stills, PDFs, uploads. Directories end in '/'.

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

Input Schema

NameRequiredDescriptionDefault
pathNoFolder to list, relative to the workspace. Omit or '.' for the top level.
session_idNoLook inside a campaign shared with this account rather than its own files. Omit for your own workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description does add one genuinely non-obvious output convention ("Directories end in '/'"), which helps parsing, but it says nothing about ordering, pagination, empty folders, or permissions on listed entries.

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?

Two tight fragments, front-loaded with the verb and resource, and the example list is dense but useful. The trailing directory-slash rule is well placed as a second, distinct clause; nothing is padded.

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 a zero-required-parameter read tool with fully documented parameters, this covers purpose, content, and the key return-shape convention. Remaining gaps (recursion depth, pagination, whether entries include sizes or timestamps) are minor given the tool's simplicity and the presence of annotations.

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 description coverage is 100%, and the schema already explains the relative-path convention and the shared-campaign meaning of session_id. The description adds no meaning beyond that — "account's workspace" only loosely frames the scope — so the baseline of 3 applies.

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+resource ("List files and folders") scoped to "the account's workspace" and enumerates concrete content types (campaign folders, scripts, product stills, PDFs, uploads), so an agent knows exactly what comes back. It stops short of naming the sibling it pairs with (read_workspace_file) or distinguishing itself from list_campaigns, so differentiation is left implicit.

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?

Usage is only implied: an agent can infer this is the discovery step before read_workspace_file, but the description never says so. There are no when-not conditions (e.g., use list_campaigns for campaign-level metadata) and no note about when session_id should be set versus path.

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.