Skip to main content
Glama

search_op_returns

Scan Bitcoin blocks to find OP_RETURN transactions containing embedded data, enabling blockchain data retrieval and analysis within specified height ranges.

Instructions

Scan blocks for OP_RETURN transactions.

    Note: This is a placeholder that will require additional implementation
    for block scanning. Currently returns an error indicating the feature
    requires direct block access.

    Args:
        start_height: Starting block height
        end_height: Ending block height (optional, defaults to start_height)
        limit: Maximum number of results (default: 100)

    Returns:
        Dictionary with found OP_RETURN transactions.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
start_heightYes
end_heightNo
limitNo
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses that the tool is a placeholder that returns an error indicating the feature requires direct block access, which is crucial behavioral context. However, it lacks details on permissions, rate limits, or error handling beyond this, leaving gaps for a tool with 3 parameters.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized but not optimally structured. The first sentence is clear, but the note about placeholder status, while important, might be better placed later. The parameter and return sections are helpful but could be more integrated. Overall, it's functional but not perfectly 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?

Given the complexity (3 parameters, no annotations, no output schema), the description is moderately complete. It covers the tool's purpose, placeholder status, parameters, and return value. However, for a tool that scans blocks and returns transactions, more details on output format, error cases, or implementation status would enhance completeness.

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?

The schema description coverage is 0%, so the description must compensate. It adds meaning by explaining each parameter's purpose: 'start_height' as the starting block height, 'end_height' as optional ending block height with default behavior, and 'limit' as maximum results with a default. This goes beyond the schema's basic types and titles, though it could be more detailed on constraints.

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 clearly states the tool's purpose: 'Scan blocks for OP_RETURN transactions.' It specifies both the verb ('scan') and the resource ('blocks for OP_RETURN transactions'), making the function evident. However, it doesn't explicitly differentiate from siblings like 'decode_op_return' or 'encode_op_return', which prevents a perfect score.

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?

The description provides no guidance on when to use this tool versus alternatives. It mentions that it's a placeholder requiring additional implementation, but this doesn't help an agent decide between this and sibling tools like 'decode_op_return' or 'get_transaction'. There's no explicit when/when-not or alternative recommendations.

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/EricGrill/mcp-bitcoin-cli'

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