Skip to main content
Glama

hedera_create_file

Create a new unsigned file on Hedera to store compiled contract bytecode before deployment.

Instructions

Build (unsigned) a new file. Useful for storing compiled contract bytecode before deployment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNoPublic key controlling the file (enables append/update/delete)
memoNo
contentsYesFile contents (UTF-8 text or hex bytecode)
payerAccountIdNo
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It introduces the key behavioral trait 'unsigned', indicating the file transaction is not submitted to the network. However, it does not explain what 'unsigned' entails (e.g., whether it returns a transaction object, how signing works) or any other behavioral aspects like destructive effects or permissions.

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?

Two sentences, no wasted words. The first sentence states the function, the second provides a practical use case. Ideal length for a creation tool.

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?

The description lacks details about return values (e.g., file ID, transaction ID) and prerequisites (e.g., account existence, signing requirements). For a tool with no output schema and no annotations, these gaps make it insufficiently complete for an agent to correctly invoke and interpret the result.

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 50%, with descriptions for 'key' and 'contents' but not 'memo' or 'payerAccountId'. The description adds context by mentioning 'unsigned' and the bytecode use case, but does not elaborate on the meaning or format of the undocumented parameters. Baseline 3 is appropriate given partial coverage and modest additional value.

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 uses a specific verb ('Build') and resource ('new file'), and provides a concrete use case ('storing compiled contract bytecode before deployment'). It is clear and distinct from siblings like hedera_append_file or hedera_update_file, though it does not explicitly differentiate.

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. The description mentions one use case but does not specify prerequisites, when not to use, or which sibling tools might be more appropriate.

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