Skip to main content
Glama
justlend

mcp-server-justlend

Official
by justlend

get_energy_rental_records

Read-onlyIdempotent

Retrieve the complete historical action log of JustLend energy rentals for a TRON address, including rent, extend, rent more, end, and recycle actions. Paginated results for mainnet only.

Instructions

Get a user's JustLend energy-rental history: rent, extend, rent_more, end, recycle actions. Distinct from get_user_energy_rental_orders which returns current active on-chain orders — this one returns the full historical action log. Paginated. Mainnet-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number, 1-indexed. Default: 1
addressYesTRON address. Default: configured wallet
networkNoMust be 'mainnet'. Default: mainnet
pageSizeNoRecords per page. Default: 20
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint, idempotentHint, and openWorldHint. The description adds that it is paginated and mainnet-only, and lists specific action types included. This provides additional behavioral context beyond the annotations.

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

Conciseness5/5

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

The description is two sentences long, front-loaded with the main verb 'Get', and contains no redundant or unnecessary information. Every sentence contributes value.

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?

Without an output schema, the description does not detail return format, but it clearly defines the content as a historical action log and contrasts it with active orders. It mentions pagination and mainnet-only. This is sufficient for the tool's complexity.

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%, so the schema already describes all parameters. The description does not add extra semantics beyond the schema, except implicitly confirming network must be mainnet. Thus, baseline score of 3 is appropriate.

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?

The description clearly states it retrieves the user's JustLend energy-rental history, listing specific actions (rent, extend, rent_more, end, recycle). It explicitly distinguishes from the sibling tool get_user_energy_rental_orders which returns current active orders, making the purpose specific and unambiguous.

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

Usage Guidelines5/5

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

The description explicitly contrasts with the sibling tool: 'Distinct from get_user_energy_rental_orders which returns current active on-chain orders — this one returns the full historical action log.' It also notes pagination and mainnet-only usage, providing clear guidance on when and how to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/justlend/mcp-server-justlend'

If you have feedback or need assistance with the MCP directory API, please join our Discord server