Skip to main content
Glama

simulate_transaction

Estimate chi cost by simulating a smart contract function call. Provide sender address, contract name, and function to preview transaction resource usage.

Instructions

Simulate a transaction to estimate chi without executing it

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kwargsNoFunction arguments
addressYesSender address for simulation
contractYesContract name
functionYesFunction name
Behavior3/5

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

The description indicates no execution occurs, but omits details on return values, state impact, prerequisites, or limitations. Given no annotations, this provides only basic transparency.

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?

A single sentence conveys the core purpose without extraneous words. It is optimally concise and front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter tool with no output schema and no annotations, the description is somewhat incomplete. It doesn't explain 'chi', return value, or parameter usage beyond defaults, but the schema covers basic semantics.

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?

All parameters have schema descriptions, so baseline is 3. The tool description adds no extra context beyond the schema, meeting but not exceeding expectations.

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 tool simulates a transaction to estimate chi, distinguishing it from sibling tools which are all read-only queries. The action and intent are explicit.

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 guidance on when to use this tool versus alternatives like executing a real transaction or using other estimation methods. The description lacks context for appropriate usage.

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/xian-technology/xian-mcp-server'

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