Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-file-ext-info

File Ext Info: Extracts a file extension from filename or ext and returns a short description from a fixed extension map 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
extNo
fileNo
inputNo
filenameNo
extensionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / allOf
      Added value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "required": [
      +          "ext"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "extension"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "file"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "filename"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "input"
      +        ]
      +      }
      +    ]
      +  }
      +]
  2. Changed5 schema fields changed
    • removedInput schema / properties / ext / description
      Removed value: -"Ext to process"
    • removedInput schema / properties / extension / description
      Removed value: -"Extension to process"
    • removedInput schema / properties / file / description
      Removed value: -"File to process"
    • removedInput schema / properties / filename / description
      Removed value: -"Filename to process"
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
  3. First observed

TDQS

B3/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 behavioral burden. It usefully discloses a fixed/deterministic lookup map and a quota of five free trial calls per signed wallet, but it does not state error behavior, case sensitivity, or whether the operation is strictly read-only.

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?

The core operation is front-loaded in a single sentence and the trial-call note is brief. The 'File Ext Info:' prefix largely repeats the tool name, so it is not maximally concise but is well structured.

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 simple lookup utility, the description covers the core input concept and output nature, which may be enough for an agent to call it. However, with five undocumented alias parameters, no annotations, and no output schema, the missing alias/preference and error details leave a meaningful gap.

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 0%, and the description mentions only 'filename' and 'ext' out of five accepted input fields. It does not explain that 'extension', 'file', and 'input' are aliases, nor what happens if multiple inputs are supplied, so it only partially compensates for the schema gap.

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 names the operation (extract a file extension) and the resource, and says it returns a short description from a fixed extension map. It is clear enough to distinguish from sibling utilities like hash-file or file-size-humanize, though it does not explicitly position itself against alternatives.

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?

It gives no when-to-use context, no exclusions, and no alternatives; the only implied usage is that an agent should call it with a filename or ext. It does not clarify when to prefer one alias over another or when not to use the tool.

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.