Skip to main content
Glama

hedera_reject_token

Reject unwanted tokens by building an unsigned transaction that returns them to their treasury. Implements HIP-904.

Instructions

Build (unsigned) a token rejection (HIP-904) — returns an unwanted token to its treasury.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenIdYes
ownerAccountIdNoHolder rejecting (defaults to payer)
payerAccountIdNo
Behavior3/5

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

The description indicates the tool 'Build(unsigned)' a transaction rather than executing it, and 'returns to its treasury' explains the effect. However, with no annotations, it fails to disclose prerequisites (e.g., association, balance) or side effects. Some behavioral context is added but incomplete.

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?

Single, front-loaded sentence with no wasted words. Includes key references (HIP-904) and action verb. Appropriate length for the complexity.

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?

Despite good purpose clarity, the description lacks critical context: prerequisites (must hold token?), relationship to other token operations, and output behavior. No output schema, and parameter semantics are weak, leaving the agent underinformed.

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?

The input schema has 3 parameters with only 33% coverage via descriptions (ownerAccountId). The tool description adds no parameter information, leaving tokenId and payerAccountId undefined beyond their types.

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 the action: 'Build (unsigned) a token rejection' and the outcome: 'returns an unwanted token to its treasury.' It references HIP-904 for standardization. Among many token-related siblings like hedera_transfer_token, hedera_dissociate_token, this tool's specific purpose is well-defined.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus alternatives (e.g., dissociate or wipe). The description implies it's for 'unwanted' tokens but lacks when/why. No exclusions or context provided.

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/ExpertVagabond/hedera-mcp'

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