Skip to main content
Glama

list_mod_configs

List supported config files in an instance's config directory, with optional substring filtering by query and a result limit.

Instructions

List supported config files inside an instance's config/ directory with optional substring filter.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "instance_path": "<instance_path>"
    },
    "name": "list_mod_configs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
instance_pathYes

Output Schema

NameRequiredDescriptionDefault
filesYes
config_dirYes
total_countYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and falls short. It never says the operation is read-only, what "supported" means (which extensions or config formats are excluded), or how the results are ordered/paginated despite a limit parameter existing.

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 well-formed sentence with the scope front-loaded and no filler. Every clause (scope, directory, filter) contributes information.

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?

An output schema exists, so return values need not be described. However, for a 3-parameter tool with zero annotation coverage and zero schema descriptions, the entry should say more about the limit/pagination behavior and what counts as a supported config file.

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 0% across three parameters, so baseline expectations are higher. The description does explain query as an optional substring filter and implies instance_path via "inside an instance's config/ directory", but the limit parameter (default 200) is left entirely unexplained.

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 supported config files") plus a precise scope ("inside an instance's config/ directory") and notes the optional substring filter. It is clear on its own, though it never explicitly distinguishes itself from read_mod_config or edit_mod_config, which operate on the same file set.

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_mod_config or edit_mod_config, but the description never says so or states any prerequisite (e.g., that instance_path must exist). No when-not or alternative routing is given.

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