Skip to main content
Glama

Browse files

browse_files
Read-only

List directories and files in Foundry's user data, with optional extension filtering, so AI assistants can locate assets and documents for world management.

Instructions

Lists directories and files in Foundry's user data.

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

Input Schema

NameRequiredDescriptionDefault
dirNo
extensionsNoe.g. [".webp", ".png"]

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.8/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. Beyond that the description adds nothing behavioral: no statement about recursion depth, pagination or result caps, whether hidden/system files appear, or what happens with an empty directory. For a read-only listing that is a modest but real gap.

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?

A single front-loaded sentence with zero filler. It is efficient, though its brevity edges toward under-specification rather than tight writing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (2 optional params, no nested objects, no output schema), so the description needn't explain return values in detail. Still, it leaves the meaning of the default empty dir and the shape of the listing (flat vs recursive) unexplained, which an agent needs in order to call it correctly.

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

Parameters2/5

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

Schema coverage is only 50%: extensions has an inline description with examples, but dir has no schema description at all. The description could have clarified that dir is a path relative to the data root and that the empty default lists the root, but it does not, leaving the most important parameter undocumented in both places.

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?

The description states a specific verb ("Lists") and resource ("directories and files") scoped to "Foundry's user data," so the agent knows exactly what operation this performs. It doesn't differentiate from sibling tools like list or get, but the resource is distinctive enough to be unambiguous.

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

Usage Guidelines2/5

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

The description provides no when-to-use guidance, no exclusions, and no alternatives. It doesn't tell the agent whether this is the right tool for finding a specific file versus enumerating a directory, which matters given siblings such as get, list, and compendium_search.

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