Skip to main content
Glama

get_v1_reserves

Retrieve the ETH and token reserve amounts for a Uniswap V1 pair by providing an ERC20 token address or symbol.

Instructions

Reads the on-chain ETH/token reserves of a token's Uniswap V1 exchange.

Uniswap V1 pairs are always ETH<->token. token is a mainnet ERC20 contract address or a known symbol (e.g. "USDC", "DAI", "WBTC").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYes
Install Server

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explicitly says this is a read operation on on-chain data, implying no side effects. It also clarifies that V1 pairs are always ETH<->token, which prevents callers from expecting arbitrary pair types. It does not discuss error behavior for unsupported tokens, but that is a minor gap for a read tool.

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 compact, front-loaded with the core action, and each sentence adds distinct value: what it reads, the V1 pair invariant, and how to specify token. No filler or redundancy.

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?

For a simple read tool with a single parameter, the description is complete. It gives the input format, network assumption, and pair structure. The absence of an output schema is acceptable because the description already names what is read (ETH/token reserves), and the tool name reinforces the return concept.

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

Parameters5/5

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

Schema coverage is 0%, but the description fully compensates by defining the only parameter: token is a mainnet ERC20 contract address or known symbol (e.g. USDC, DAI, WBTC). This informative explanation is more than enough for an agent to correctly construct the call.

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 tool's purpose: reading on-chain ETH/token reserves from a token's Uniswap V1 exchange. It includes the key distinguishing fact that V1 pairs are always ETH<->token, which separates it from sibling v2/v3 reserve tools.

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 provides clear context: this is for Uniswap V1 exchanges, where pairs are always ETH<->token, and token must be a mainnet ERC20 address or symbol. It does not explicitly state when not to use it or name alternatives, but the V1-specific framing and sibling tool names make the intended usage clear.

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

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/ema-0/uniswap_prices'

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