Skip to main content
Glama
pythia-the-oracle

pythia-oracle-mcp

Official

get_events_guide

Generate Solidity code to subscribe to Pythia oracle events for crypto indicators. Provides LINK approval, alert listening, and refundable subscription management.

Instructions

Get Solidity code to subscribe to Pythia Events (indicator alerts).

Returns a complete contract that approves LINK, subscribes to an indicator alert, listens for PythiaEvent, and can cancel for a refund.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Without annotations, the description successfully explains what the generated contract code does (approves LINK, subscribes to alerts, listens for events, cancels for refund). However, it omits operational details such as whether the tool is read-only, idempotent, cached, or requires specific permissions.

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 comprises two tightly constructed sentences: the first establishes the core purpose (getting Solidity code), and the second elaborates on the four specific capabilities of the returned contract. Every sentence earns its place with no redundant or filler content.

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?

Given the existence of an output schema (handling return format), the description adequately explains the semantic content and functionality of the returned code. It could be improved with explicit differentiation from similar documentation-focused siblings, but covers the essential functional scope for a code-generation tool.

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?

With zero input parameters, this earns the baseline score of 4 per evaluation rules. The empty schema requires no semantic clarification, and the description correctly focuses on the output behavior rather than inventing parameter details.

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 clear resource 'Solidity code' and scope 'Pythia Events (indicator alerts)'. It effectively distinguishes itself from siblings like get_events_info and get_integration_guide by specifying it returns executable contract code rather than documentation or metadata.

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 through specificity—indicating it returns code for subscribing to indicator alerts—but lacks explicit guidance on when to select this tool versus alternatives like get_integration_guide or get_events_info. No prerequisites, exclusions, or workflow context is provided.

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/pythia-the-oracle/pythia-oracle-mcp'

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