Skip to main content
Glama

Media Generator — Images, Videos & Audios

fetch

Fetch detailed information about a specific tool or resource.

This tool allows ChatGPT to get detailed information about a specific tool, including its parameters, usage examples, and functionality.

Args: resource: The name of the tool or resource to fetch information about

Returns: A JSON string containing detailed information about the requested resource

Input Schema

NameRequiredDescriptionDefault
resourceYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedOutput schema / description
      Removed value: -"Generic wrapper for non-object return types."
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the return payload ('JSON string containing detailed information...parameters, usage examples, functionality'), which is useful, but it omits behavior when a resource name is invalid, whether this hits external services, and any auth or rate-limit considerations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The second sentence restates the first ('Fetch detailed information...' / 'This tool allows ChatGPT to get detailed information...'), which is pure redundancy, and naming the client 'ChatGPT' is wasted text. The Args/Returns structure is otherwise clean and front-loaded.

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 one-parameter tool with an output schema already present, the description covers purpose, argument, and return shape adequately. It still leaves a gap around how to obtain valid resource names and its relationship to the search sibling, which matters for a discovery tool.

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%, so the description must compensate for the single parameter. It does clarify that 'resource' is the name of a tool or resource to fetch, adding meaning beyond the bare string type, but gives no format, naming convention, or example of a valid value.

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 (fetch) and resource (tool/resource metadata) and is clearly distinguishable from the generation-oriented siblings like generate_image and song_generator. The 'or resource' hedge slightly muddies what is being fetched, but the core purpose is legible.

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?

No when-to-use guidance and no exclusions. A sibling named 'search' exists and is the obvious alternative for discovery, yet the description never says when to fetch by name versus search, nor where a valid resource name comes from.

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.