Skip to main content
Glama

mime_lookup

Lookup MIME type by file extension/path, or extensions by MIME. When: Map file extension ↔ MIME type.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mimeNo
path_or_extNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries full burden for behavioral disclosure. It only states the basic function without detailing error handling, case sensitivity, partial matches, or output format. This lack of detail limits transparency.

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?

The description is extremely concise: two short sentences with no wasted words. Key information is front-loaded, making it quickly scannable for an AI agent.

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?

Given the absence of an output schema and annotations, the description should compensate by explaining return values or behavior details. It does not mention what the tool returns (e.g., a string, list, or object), leaving the agent guessing about the output format.

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%. The description mentions 'file extension/path' and 'MIME' but does not explicitly link them to the two parameters or clarify their relationship (e.g., which to use when). Both parameters are optional, and the description fails to guide selection.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the bidirectional mapping between file extension/path and MIME type, using specific verbs ('Lookup', 'Map'). This distinguishes it from the many sibling tools, none of which perform MIME lookups.

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?

The description includes 'When: Map file extension ↔ MIME type', providing explicit context for when to use the tool. However, it does not mention when not to use it or alternatives, though among siblings no alternative exists.

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.