Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_preview_transaction

Preview a transaction with gas estimates before execution to verify recipient, calldata, and value without sending it; use this read-only operation to avoid costly mistakes.

Instructions

Preview a transaction with gas estimates before execution. This is a read-only operation.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "to": "<to>"
    },
    "name": "factor_preview_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesThe recipient address
dataNoThe transaction calldata (hex string)
valueNoThe value to send in wei (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.9

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does contribute one important behavioral fact: 'This is a read-only operation,' clarifying no state change occurs. It stops short of describing what the preview actually returns (gas estimate fields, success/failure signaling, revert output) or any prerequisites such as node connectivity or approval state.

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 short sentences, with the purpose stated first and the safety property immediately after. Nothing is redundant and nothing important is buried.

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 three-parameter read-only tool with a fully documented schema and no output schema, the description covers purpose and the read-only nature adequately. It is thin on what the returned preview contains and on how it relates to the sibling simulate tool, leaving real gaps for an agent choosing between them.

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 100%, so all three parameters (to, data, value) are already documented in the schema. The description adds no additional parameter meaning, such as format expectations or how 'value' interacts with gas estimation, so the baseline of 3 applies.

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 gives a specific verb ('Preview') and resource ('a transaction') plus the key output ('gas estimates'), which is more than a restatement of the name. It does not, however, distinguish itself from the similarly-named sibling 'factor_simulate_transaction', so an agent cannot tell the two apart from the text alone.

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?

'Before execution' implies the timing context in which this tool is appropriate, which is useful. There is no explicit statement of when to prefer it over simulation or status-checking siblings, and no exclusions, so the guidance remains implied rather than stated.

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

Deploy Server

Other Tools