Skip to main content
Glama
IQAIcom
by IQAIcom

watch_near_event

Monitor NEAR contract events and automatically invoke an AI response method. Specify event name and contract ID to start watching.

Instructions

Start watching for specific events on a NEAR contract and process them with AI responses

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eventNameYesName of the NEAR event to watch for
contractIdYesNEAR contract ID to monitor
responseMethodNameNoContract method to call with the response (defaults to agent_response)agent_response
responseParameterNameNoName of the parameter to pass to the response method (defaults to response)response
cronExpressionNoCron expression for polling frequency (default: every 10 seconds)*/10 * * * * *
Behavior2/5

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

No annotations provided, so the description must disclose behavioral traits. It mentions 'process them with AI responses' but does not explain how responses are generated, polling behavior, or persistence. Lacks details on side effects or requirements.

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

Conciseness4/5

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

Single sentence that is clear and front-loaded. Could be slightly more structured, but efficiently conveys the core action.

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?

Given 5 parameters, no output schema, and no annotations, the description is incomplete. It does not explain the polling mechanism, lifecycle (e.g., how to stop), or what 'process with AI responses' entails. Sibling tools hint at a monitor/stop pattern.

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 the schema already documents each parameter. The description does not add significant meaning beyond what is in the schema. Baseline 3 is appropriate.

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?

Clearly states the verb 'start watching' and the resource 'events on a NEAR contract', and adds the purpose 'process them with AI responses'. Differentiates from siblings by specifying the start action, but could be more explicit about the lifecycle.

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 vs siblings (list_watched_near_events, stop_watching_near_event). Does not provide context about prerequisites or when not to use.

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/IQAIcom/mcp-near-agent'

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