Skip to main content
Glama
AgentExec

AgentExec

Official
by uniac-ai

list

Read-only

Retrieve folder contents within a workspace: directories are marked with a trailing slash and files include their size in bytes.

Instructions

Lists a folder: folders end in /, and files give their size in bytes.

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

Input Schema

NameRequiredDescriptionDefault
pathNoInside the workspace; relative to it, or absolute; ~ is the home folder. The workspace by default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.0.11
    • changedInput schema / properties / path / description
      Previous value: -"Inside the workspace; relative to it, or absolute. The workspace by default."New value: +"Inside the workspace; relative to it, or absolute; ~ is the home folder. The workspace by default."
  2. Changed1 schema field changedv0.0.10
    • changedInput schema / properties / path / description
      Previous value: -"The workspace by default."New value: +"Inside the workspace; relative to it, or absolute. The workspace by default."
  3. First observedv0.0.2

TDQS

A3.6/5.0
Behavior3/5

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

readOnlyHint=true is already declared, so safety is covered by annotations. The description adds genuinely useful output-format behavior (directories suffixed with /, file sizes in bytes) but says nothing about ordering, hidden entries, recursion, empty folders, or errors.

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

Conciseness5/5

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

A single sentence with no filler. The action comes first and the output-format detail, the part that actually changes agent behavior, follows immediately.

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 one-optional-parameter, read-only listing tool with full schema coverage and no output schema, the definition supplies what matters: what is listed and how entries are rendered. Ordering and error behavior are the only notable omissions.

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% and the path parameter's own description already explains relative vs absolute, ~ as home, and the default workspace. The tool description adds no parameter meaning beyond that, 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?

"Lists a folder" gives a specific verb and resource, and the note that folders end in / while files report size in bytes makes the output shape unambiguous, which separates it from read and search. It stops short of naming those siblings for contrast, so differentiation is by implication only.

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 implied: browse a folder to see entries, versus read for file content and search for lookup. The description never states when to prefer this over search, nor any exclusions, so the agent must infer the routing.

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

Deploy Server

Other Tools