Skip to main content
Glama
PharosNetwork

Pharos MCP Server

Official

get_logs

Read-onlyIdempotent

Retrieve EVM logs from the Pharos blockchain by filtering on contract address, event topics, and a bounded block range.

Instructions

Get EVM logs with bounded block range supplied by the caller

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicsNo
addressNo
toBlockNo
fromBlockNo
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, so the agent knows this is a safe read operation. The description adds the behavioral requirement that the caller must supply a bounded block range, which is useful, but it does not mention return format or potential size/pagination issues. No contradictions with annotations.

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 a single sentence that fronts the action and resource, with no redundant words. Every word earns its place.

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?

With four optional parameters, no output schema, and no parameter descriptions in the schema, the description is too skeletal to fully guide invocation. It does not state what the tool returns (e.g., an array of log objects), nor does it clarify whether fromBlock/toBlock are effectively required despite the schema marking them optional. The annotations provide safety context, but the description lacks operational completeness.

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

Parameters2/5

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

The schema has 0% description coverage, and the description does not explain any of the four parameters. It only hints at block range via 'bounded block range,' leaving topics and address semantics entirely to the schema property names, which may be ambiguous for an AI agent. The description fails to compensate for the schema's lack of parameter descriptions.

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 uses the specific verb 'Get' with the resource 'EVM logs', and adds the qualifier 'with bounded block range supplied by the caller.' This clearly distinguishes it from sibling tools like get_transaction_receipt, which retrieves logs for a specific transaction, and get_block, which retrieves block data.

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 the tool is for querying logs over a caller-specified block range, but it provides no explicit guidance on when to use it over alternatives like get_transaction_receipt or eth_call, and does not mention any exclusions. The context is clear but lacks alternative selection criteria.

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/PharosNetwork/pharos-mcp'

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