Skip to main content
Glama

FinTech Hodl Base DeFi risk intel

get_closure

Everything an entity (protocol, asset, stablecoin, curator) depends on, transitively, as a graph. Useful for tracing what a protocol or stablecoin ultimately relies on. Entity ids appear in dependency graphs, for example protocol:morpho-blue. Unknown ids answer 404 and invalid arguments 400 before any payment; 503 while data refreshes; charged only for a 200. Price: $0.01 USDC on Base (x402), charged only for a successful answer.

Input Schema

NameRequiredDescriptionDefault
entityYesEntity id: protocol:<slug>, stablecoin:<id>, oracle:<name>, curator:<name> or issuer:<name>, as found in dependency graphs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well by disclosing 404 for unknown ids, 400 for invalid arguments, 503 during refresh, and that billing only occurs on a 200. It could still say more about output shape or graph size limits, but the error and payment behavior are unusually transparent.

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?

The description is compact and front-loads the core behavior before adding examples, status codes, and pricing. The pricing sentence is slightly redundant with the 'charged only for a 200' clause but remains useful.

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?

For a one-parameter read tool with no output schema, it covers purpose, a representative use case, entity id format, error behavior, and payment terms. It is nearly complete, though it could clarify the returned graph's shape or whether pagination/truncation applies.

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%, including entity pattern, examples, and allowed prefixes, so the schema already fully documents the single parameter. The description's example (protocol:morpho-blue) and entity-type note mostly repeat schema information rather than adding new semantics.

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 operation: returning everything an entity depends on transitively as a graph. The word 'transitively' distinguishes it somewhat from dependency-graph siblings, but it does not explicitly name get_dependency_graph or get_dependents as the direct or reverse alternatives.

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 use case ('tracing what a protocol or stablecoin ultimately relies on'), which implies when to use it. However, it offers no explicit when-not guidance or comparison to sibling tools like get_dependency_graph or get_dependents.

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