Skip to main content
Glama

get_liquidity

The liquidity this protocol has built into its own pool, and whether any of it can be taken back out. Answers the question behind 'can they rug this': lock.allLocked is read from the pool position itself, not inferred from a record, and is true only when the position reports zero unlocked liquidity, meaning nobody can withdraw any of it including the protocol itself. Serves two different money figures that must not be confused: builtIntoLiquidity is a cost basis, each deposit priced at the hour it happened, which does not move with the market; positionNow is what that same liquidity represents at current prices, which does, and in a pool the two sides drift apart from what went in. feesCompounded is what the locked position earned from trades and had put straight back in, which is separate from the protocol fees that fund the deposits. The record is rebuilt from one public wallet: each refresh walks that wallet's full transaction list on Solana, a finalized transaction is kept once it has been read, and every total is recomputed rather than stored, so all of it can be recomputed from Solana. readAt, positionReadAt and positionNow.pricedAt state when the record, the position and the prices were read; quote them with the figures. Individual deposits are not returned; the full record is served at the URL given in the response. Read-only.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden and does it well: it discloses read-only status, that the record is rebuilt by walking a wallet's full Solana transaction list (implying cost/latency), that totals are recomputed rather than stored, and that individual deposits are withheld. It stops short of stating latency or rate limits explicitly.

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

Conciseness4/5

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

Purpose and rug-check framing are front-loaded, followed by the return-field distinctions. It is long but most sentences carry substantive meaning for a complex tool, though the single dense paragraph could be tightened.

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 and no parameters, the description compensates fully by explaining the key return semantics (lock.allLocked, builtIntoLiquidity, positionNow, feesCompounded, readAt/positionReadAt/pricedAt), what is omitted, and where the full record lives. Nothing essential to calling it correctly is missing.

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 tool takes zero parameters, so the baseline is 4. The description correctly treats the tool as parameterless and instead invests in explaining the returned fields, which is the right allocation of effort.

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?

States a specific verb and resource and frames the exact question it answers ('can they rug this'), which is a distinct angle from siblings like get_proof_of_reserves, get_lock_tier, or get_project_treasury. An agent can tell what this tool returns and why it differs from the other liquidity-adjacent tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The framing 'answers the question behind can they rug this' implies the use context, but there is no explicit when-to-use-vs-alternative routing or when-not guidance. With 37 siblings, naming a comparison tool would have helped; usage must be inferred.

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