Skip to main content
Glama

FarmDash Agent OS

analyze_protocol_risk

Read-onlyIdempotent

Assess a catalog protocol with DeFiLlama TVL, concentration, momentum, diversification, and optional historical trends. Requires Pioneer or equivalent route access. Returns riskGrade, riskScore, signals, and evidence-labeled onChainData. An unresolved upstream identity returns unknown risk with catalog evidence only. Unavailable observations remain null.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "protocolId": "<protocolId>"
    },
    "name": "analyze_protocol_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
protocolIdYesExact FarmDash catalog protocol ID, such as hyperliquid or etherfi.
includeHistoricalNoInclude the 30-day TVL trend when available. Defaults to true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / includeHistorical / description
      Previous value: -"Include 30-day historical TVL trend analysis (default: true)"New value: +"Include the 30-day TVL trend when available. Defaults to true."
    • changedInput schema / properties / protocolId / description
      Previous value: -"Protocol ID (e.g. \"hyperliquid\", \"etherfi\")"New value: +"Exact FarmDash catalog protocol ID, such as hyperliquid or etherfi."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, the description discloses an access prerequisite, the exact return fields (riskGrade, riskScore, signals, evidence-labeled onChainData), the degraded behavior when upstream identity is unresolved ('unknown risk with catalog evidence only'), and the null convention for unavailable observations. That is meaningful behavioral context an agent could not get from annotations alone.

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?

Four compact sentences, front-loaded with purpose followed by prerequisites, return shape, and edge-case behavior. Dense but every sentence carries information; minor jargon stacking in the first sentence costs it a point.

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

Completeness4/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 correctly compensates by naming the returned fields and explaining degraded/null outcomes. Access requirements and the identity-resolution failure mode are covered; only the choice against sibling risk tools is left unaddressed.

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 100% and both parameters are documented in-schema, so the baseline is 3. The description's 'optional historical trends' loosely corresponds to includeHistorical but adds no format, default, or lookup guidance beyond what the schema already states.

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?

The description opens with a specific verb and resource ('Assess a catalog protocol') and enumerates the analytical dimensions used (TVL, concentration, momentum, diversification, historical trends), which distinguishes it from a generic metadata or risk-factor lookup. It does not explicitly name a sibling it replaces, so differentiation is left partly to inference.

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?

'Requires Pioneer or equivalent route access' establishes a prerequisite, and the mention of 'catalog protocol' constrains the target set. However, there is no guidance on when to prefer this composite assessment over sibling tools like get_protocol_risk_factors, nor any explicit when-not condition.

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