Skip to main content
Glama

Get v3 eMode categories

get_emode_categories
Read-only

v3 only. eMode groups correlated assets (ETH-correlated, stablecoins) so they borrow against each other at a higher LTV, raising borrowing power at the cost of restricting which assets the position may hold. Returns each market's categories with the 'categoryId' that prepare_set_emode takes, its LTV and liquidation thresholds, and which symbols are in it. Narrow with 'symbols' (e.g. ['USDC']) to get just the categories that asset is in - unfiltered this is every category on every chain. Markets with no matching category are left out entirely. v4 has no eMode: it replaces it with risk premium and dynamic config.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainIdNoChain id to restrict to, e.g. 1 for Ethereum. Omit the argument entirely to cover every chain.
symbolsNoOptional token symbols to return, e.g. ['USDC','GHO']. Case-insensitive. Strongly preferred when you know the asset: a chain has ~70 reserves and listing them all is a large response.
versionNoOptional, and only 'v3': this tool exists on v3 only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / version
      Added value: +{
      +  "description": "Optional, and only 'v3': this tool exists on v3 only.",
      +  "enum": [
      +    "v3"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond annotations, it discloses that markets with no matching category are omitted, that unfiltered queries return every category on every chain, and that responses can be large enough to make 'symbols' strongly preferred. There is no contradiction with the read-only annotation.

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 focused and every sentence earns its place: version gating, eMode behavior, return fields, filtering advice, and the v4 exclusion. There is no repetition of schema content and no filler.

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?

With no output schema, the description compensates by itemizing the returned fields (categoryId, LTV, liquidation thresholds, symbols) and explaining the omission behavior. It also covers parameter behavior and version constraint, leaving an agent with enough to invoke it 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?

Schema coverage is 100%, so baseline is 3, but the description adds meaningful semantics: symbols is case-insensitive and strongly preferred for large chains, chainId omission covers all chains, and the return value includes the categoryId that feeds prepare_set_eMode plus LTV and thresholds.

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 names a specific resource ('eMode categories'), a specific verb ('Returns'), and the exact scope ('v3 only'). It distinguishes itself from siblings by explicitly calling out prepare_set_emode as the consumer of its categoryId and by noting v4 has no eMode.

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 gives clear when-and-how guidance: use it to discover eMode categories, LTV, and thresholds for v3, narrow the response with 'symbols', and omit chainId for all chains. It also says v4 should not use this tool, but it does not explicitly name other tools as alternatives for non-eMode reserve data.

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.

Resources