Skip to main content
Glama
Nishant-IIT

small-mcp

by Nishant-IIT

read_resource

Read-only

Retrieve resource content by providing its URI. For templated resources, fill in parameters; returns text or base64-encoded binary data.

Instructions

Read a resource by its URI.

For static resources, provide the exact URI. For templated resources, provide the URI with template parameters filled in.

Returns the resource content as a string. Binary content is base64-encoded.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uriYesThe URI of the resource to read

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

The description discloses that content is returned as a string and that binary content is base64-encoded, which is valuable behavioral context beyond the readOnlyHint annotation. It also clarifies the templating behavior, adding transparency about expected URI formats.

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 concise, using three sentences that each add value: the first states the core action, the second clarifies URI formatting, and the third explains the return format. No unnecessary words or repetition.

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

Completeness5/5

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

Given the tool's simplicity (one parameter, readOnlyHint, output schema present), the description covers the essential information: what it does, how to construct the URI, and what to expect in the response. It is complete for an agent to select and invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema only says 'The URI of the resource to read', but the description enriches this by explaining the distinction between static and templated URIs and how to fill in template parameters. This goes beyond the schema's bare parameter description.

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 uses a specific verb ('Read') and clearly indicates the resource type ('a resource') and the method ('by its URI'). It distinguishes from siblings like list_resources and get_prompt by focusing on reading a single resource via URI.

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?

It provides explicit instructions on how to format URIs for static versus templated resources, which is useful guidance. However, it does not explicitly contrast this tool with alternatives like list_resources or get_prompt, leaving 'when to use' somewhat implied.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Nishant-IIT/smallmp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server