Skip to main content
Glama
AtefAndrus

@atef_andrus/mcp-ripgrep

by AtefAndrus

Ripgrep List File Types

list-file-types

Retrieve all file types supported by ripgrep to find valid values for the fileType parameter.

Instructions

List all file types supported by ripgrep. Useful for finding valid values for the fileType parameter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxCharactersNoMaximum characters in the result. Truncated with summary if exceeded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. 'List' truthfully implies a read-only operation, and no contradiction exists, but it says nothing about return format, ordering, or the truncation behavior implied only by the schema's maxCharacters. Adequate but thin for an annotation-free tool.

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?

Two short sentences, zero filler, with the tool's output front-loaded and its purpose following immediately. Every sentence earns its place.

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 trivial read-only listing tool with no output schema and full schema param coverage, the description supplies enough to call it correctly: what it returns and why. Only a note about output shape would improve it.

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?

One parameter with 100% schema description coverage, so the schema already documents maxCharacters and its truncation behavior. The description adds no parameter-level detail beyond what the schema provides, matching the baseline 3 for high-coverage schemas.

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+resource: 'List all file types supported by ripgrep.' An agent can immediately tell this is a metadata-enumeration tool rather than a search tool, distinguishing it from the search*/list-files siblings. It stops short of naming a sibling explicitly, so it stays at 4 rather than 5.

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

Usage Guidelines4/5

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

Gives clear context: 'Useful for finding valid values for the fileType parameter.' This tells the agent exactly when the tool is wanted (populating a fileType argument). It does not name alternatives or state when not to use it, so it falls short of the 5 bar.

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