Skip to main content
Glama

wide_oracle_register

Read-onlyIdempotent

Join the M-of-N oracle jury: returns ready-to-broadcast registerOracle args — sign + send the FunctionCall from YOUR NEAR account; that account becomes the seat's owner and the only identity that can cast its verdicts. Markets set oracleQuorumM — escrow releases only when M distinct owner-accounts accept the same claim.

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": {
      "pubkey_hex": "<pubkey_hex>"
    },
    "name": "wide_oracle_register"
  }
}

Input Schema

NameRequiredDescriptionDefault
pubkey_hexYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, and the description is consistent with that: it explicitly frames the tool as producing args rather than broadcasting, so no write occurs server-side. Beyond the annotations it adds real behavioral context — caller must sign and send, the sender becomes seat owner and sole verdict authority, and escrow releases only on M distinct owner-accounts accepting the same claim. It does not cover failure modes such as duplicate registration with the same pubkey.

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?

Three dense sentences, front-loaded with the action and return value, then the signing requirement, then the incentive model. Every clause carries information; the middle sentence is long and em-dash-heavy but nothing is filler.

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 one-parameter registration tool with annotations already covering the safety profile, the description covers the action, the caller's follow-up step, and the economic consequence. It is incomplete on the sole parameter's meaning, on prerequisites/re-registration behavior, and — since there is no output schema — on the shape of the returned args beyond a one-line mention.

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?

There is a single parameter, pubkey_hex, with 0% schema description coverage, yet the description never mentions it. Whether it is the oracle's signing key, the NEAR account key, or an ed25519 hex encoding is left to inference, and getting that wrong silently binds ownership to the wrong identity.

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 definition names a specific action and resource — registering an oracle seat in an M-of-N jury — and states what it returns: ready-to-broadcast registerOracle args. It also clarifies the resulting role (the signing account becomes the seat's owner and the only identity that can cast verdicts), which distinguishes it from the tally and agent-registration siblings, though it never names an alternative explicitly.

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?

It gives a clear workflow (sign + send the FunctionCall from YOUR NEAR account) and explains the quorum/escrow payoff, so the agent knows what happens after calling it. But it offers no when-not guidance: nothing about prerequisites (existing market, bond/funds, whether an account can hold multiple seats or re-register), nor how it relates to wide_agent_register for non-oracle roles.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.