Skip to main content
Glama

Defi Risk Score

defi_risk_score
Read-onlyIdempotent

[defi] DeFi risk scoring (DFI-101-RiskScoreBound)

Input Schema

NameRequiredDescriptionDefault
positionYes
protocolYes
market_conditionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

D1.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds nothing beyond that — no indication of what a score represents, its range, determinism guarantees, or what the response contains.

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

Conciseness3/5

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

Very short with no wasted words, but the brevity is under-specification rather than efficiency; the parenthetical code is noise that consumes part of an already tiny budget.

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

Completeness2/5

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

Given three required, deeply nested, undocumented parameters and no output schema, the definition leaves an agent unable to construct a valid call. Annotations cover safety only; the rest of the calling contract is missing.

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

Parameters1/5

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

Three required parameters including two nested objects (position, market_conditions) with 0% schema description coverage, and the description says nothing about required shape, fields, or expected values. This is the case where the description must compensate for the schema, and it does not at all.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description restates the tool name and title ('DeFi risk scoring') and appends an opaque internal code, 'DFI-101-RiskScoreBound', that conveys nothing to an agent. It never says what the score measures, its scale, or how it differs from siblings like threat_score, trust_score, or defi_optimize.

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

Usage Guidelines1/5

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

No guidance whatsoever on when to use this tool versus the many related sibling tools (threat_score, trust_score, compliance_check, defi_optimize). No prerequisites, no exclusions, no contextual triggers.

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.