Skip to main content
Glama

account_create_account

Create a new NEAR account with a unique account ID and initial balance, funded by the calling account. Supports mainnet and testnet with optional account ID generation.

Instructions

Create a new NEAR account with a new account ID. The initial balance of this account will be funded by the account that is calling this tool. This account will be created with a random public key. If no account ID is provided, a random one will be generated. Ensure that mainnet accounts are created with a .near suffix, and testnet accounts are created with a .testnet suffix.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
initialBalanceYesThe initial balance of the new account in NEAR. If not provided, the new account will be funded with 0.1 NEAR.
networkIdNomainnet
newAccountIdNoThe account id of the new account. If not provided, a random one will be generated.
signerAccountIdYesThe account that will fund the new account.
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by disclosing key behavioral traits: the account is funded by the caller, uses a random public key, generates random account IDs if not provided, and enforces network-specific suffixes. However, it lacks details on permissions needed, rate limits, or error conditions that would be helpful for a mutation tool.

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 appropriately sized with three sentences, each adding value: first states the core purpose, second explains funding and key generation, third provides network-specific rules. No wasted words, and information is front-loaded with the primary action clearly stated upfront.

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 mutation tool with no annotations and no output schema, the description does a good job covering key aspects: purpose, funding source, parameter behaviors, and network constraints. However, it lacks details on return values, error handling, or security prerequisites, which would enhance completeness for this type of operation.

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

Parameters4/5

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

Schema description coverage is 75%, so the description compensates by adding context beyond the schema: it explains that initial balance is funded by the caller, clarifies random generation for missing account IDs, and specifies network suffix rules. This adds meaningful semantics, though it doesn't cover all parameters in depth (e.g., signerAccountId implications).

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 specific action ('Create a new NEAR account'), identifies the resource ('with a new account ID'), and distinguishes it from siblings like 'account_create_implicit_account' by specifying it creates a regular account with funding from another account. The verb+resource combination is precise 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 Guidelines3/5

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

The description implies usage context by mentioning network suffixes (mainnet vs. testnet) and funding requirements, but does not explicitly state when to use this tool versus alternatives like 'account_create_implicit_account' or 'system_import_account'. No explicit exclusions or comparisons to sibling tools are provided, leaving usage guidance incomplete.

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

Related 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/nearai/near-mcp'

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