Skip to main content
Glama

Oxyforge WordPress

List or read files

read_files
Read-only

List a folder (a path without a file extension) or read a file under wp-content/themes, plugins or uploads.

Input Schema

NameRequiredDescriptionDefault
pathYese.g. "themes/bakery" or "themes/bakery/style.css"
siteYesthe site name, from create_site or list_sites
tokenNothe token create_site returned (oxa_...); leave out when Oxyforge is connected with an account agent key

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read, and the description usefully adds the directory-scope constraint (themes, plugins, uploads). It does not disclose truncation/size limits for large files, recursion behavior for listings, or error behavior on a missing path — meaningful gaps for a file reader.

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 front-loaded sentence with zero waste; the mode-selection rule is embedded where it is most needed, at the point the path is described.

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?

For a 3-parameter read tool with no output schema, the core is covered, but the description says nothing about what a listing returns or how file contents are returned/limited. The dual-mode nature of the tool warrants at least one sentence on output shape or truncation.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description goes beyond the schema examples by explaining that a folder path lacks a file extension while a file path has one, which clarifies how the 'path' parameter drives tool mode rather than just duplicating the example strings.

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 two specific verbs (list, read) on a specific resource (files/folders) and explicitly restricts the scope to wp-content/themes, plugins or uploads. The sibling names (write_file, delete_file) are not referenced, so differentiation is by implication rather than statement.

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?

The parenthetical '(a path without a file extension)' gives a usable rule for choosing between the list and read modes, which is the main ambiguity. It never says when to use this over read-alternatives or when-not to use it, and no prerequisites (e.g. site/token pairing) are mentioned.

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