Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-mime-type

x402-mime-type: Detect MIME type from filename extension. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
extNo
nameNo
filenameNo
extensionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / allOf
      Added value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "required": [
      +          "ext"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "filename"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "name"
      +        ]
      +      }
      +    ]
      +  }
      +]
  2. Changed4 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 / filename / description
      Removed value: -"Filename to process"
    • removedInput schema / properties / name / description
      Removed value: -"Name to process"
  3. First observed

TDQS

C2.9/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 burden. It does disclose a real behavioral trait the schema cannot convey: the tool is metered with 5 free trial calls per signed wallet, implying a paywall and wallet-auth requirement. It says nothing about the return value, failure modes for unknown extensions, or whether the call is read-only and idempotent.

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 purpose, with no redundant restatement. The emoji and repeated tool-name prefix are minor noise rather than a real cost.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and 0% parameter description coverage, the definition is thin for a four-parameter tool. It omits how the required-parameter alternative works, what the response looks like, and how billing behaves after the free trial.

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 description coverage is 0%, so all four parameters are undocumented. The phrase 'filename extension' faintly gestures at ext/filename/extension, but the description never explains that exactly one of ext, filename, or name is required, nor that supplying only 'extension' fails the anyOf constraint. That is a concrete gap an agent could trip over.

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 gives a specific verb and resource: 'Detect MIME type from filename extension.' An agent knows exactly what the tool does. It does not differentiate from near-identical siblings such as x402-mime, x402-mime-detect, and x402-content-type, so it stops short of a 5.

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?

There is no guidance on when to use this tool instead of the many similar MIME/content-type siblings, and no stated preconditions beyond the pricing note. The agent must guess which of the lookalike tools to call.

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.