Skip to main content
Glama

list_mocks

Lists mock directories and files at a specified path, returning folder and file metadata for browsing or managing Mockery server content.

Instructions

List directories and files at a specified path in the Mockery server. Returns folders and files with metadata.

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

Input Schema

NameRequiredDescriptionDefault
pathNoPath to list (e.g., "weather/prod"). Defaults to root "/" if not specified.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does add useful behavior: the result contains folders and files 'with metadata', and path defaults to root '/' when omitted, clarifying it is a read of the namespace root. It does not say whether listing is recursive, how deep it goes, whether results are ordered or paginated, or what happens for a nonexistent path.

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 short sentences, front-loaded with the operation and followed by return content. No filler or redundancy, though the second sentence is thin enough that it nearly restates the first.

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 tool with no output schema, the description covers purpose, default path behavior, and the general shape of the return (folders and files with metadata). The 'metadata' remains undefined, which is the main gap, but overall it is adequate for the tool's low complexity.

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 single 'path' parameter already documents its format and root default, so the schema does the heavy lifting. The description only echoes the path scoping and adds no new syntax, validation, or edge-case meaning beyond the schema. Baseline 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 and resource: 'List directories and files at a specified path in the Mockery server.' An agent can tell this is a directory-browsing tool rather than a single-object fetch. It stops short of naming how it differs from get_mock (presumably single-item retrieval), so it is clear but not sibling-differentiated.

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 by the verb 'List' and the phrase 'at a specified path' – an agent can infer it is for browsing the mock namespace. There is no explicit when-to-use, no exclusions, and no pointer to get_mock for fetching a single item versus listing a directory.

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