Skip to main content
Glama

Onchain Observatory

risk

Read-only

Get a vault's risk profile and optional deposit/exit sizing. Requires x402 payment and the upstream risk route.

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": {
      "chain": "<chain>",
      "address": "<address>"
    },
    "name": "risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYes
amountNo
addressYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds meaningful behavior beyond that: the call costs x402 payment and depends on an upstream risk route, which is critical pre-call context an agent cannot get from annotations. It does not cover failure modes or what happens if payment or the route is unavailable.

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?

Two short sentences with no filler, and the core capability is front-loaded ahead of the prerequisite. The phrase 'upstream risk route' is slightly jargon-heavy but still compact.

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

Completeness3/5

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

An output schema exists so return values need not be explained, and the payment prerequisite is disclosed. However, for a paid, open-world, read-only tool with three parameters and zero schema coverage, the definition omits payment cost/mechanics, failure behavior, and any parameter clarification, leaving clear gaps.

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 description coverage is reported at 0%, so the description must carry the load, yet it only hints that 'amount' drives deposit/exit sizing. It does not explain the chain enum values, the address pattern, or what units/format the amount expects, leaving most parameter meaning to the raw schema.

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 states a specific verb and resource ('Get a vault's risk profile') plus a secondary capability ('optional deposit/exit sizing'), which is clearly distinct from the sibling vault/rwa/wallet tools. It stops short of explicitly naming a sibling to contrast with, so it is clear but not maximally differentiated.

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?

It gives a hard prerequisite ('Requires x402 payment and the upstream risk route') but never states when an agent should choose this over the sibling 'vault' tool or when it should not be used at all. Usage is only implied by the optional sizing feature.

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