Skip to main content
Glama

Per-market public resolution state and available actions

kellian_get_market_resolution_state
Read-onlyIdempotent

Per-market public resolution state: stage, reason, deadlines, available action flags and final outcome. Action details appear only when their public surface is available.

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": {
      "address": "<address>"
    },
    "name": "kellian_get_market_resolution_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesMarket contract address.
chainIdNoChain id; probes enabled chains if omitted.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / $defs / DiscoverResolutionStateResponse / properties / disputeAction / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "bondToken": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "address": {
      -            "$ref": "#/$defs/EvmAddress"
      -          },
      -          "chainId": {
      -            "$ref": "#/$defs/ChainId"
      -          },
      -          "decimals": {
      -            "exclusiveMinimum": 0,
      -            "maximum": 9007199254740991,
      -            "type": "integer"
      -          },
      -          "symbol": {
      -            "minLength": 1,
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "symbol",
      -          "address",
      -          "decimals",
      -          "chainId"
      -        ],
      -        "type": "object"
      -      },
      -      "challengerBondWei": {
      -        "$ref": "#/$defs/WeiString"
      -      },
      -      "confirmation": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "endpoint": {
      -            "const": "/api/agent/v1/resolve/challenge",
      -            "type": "string"
      -          },
      -          "method": {
      -            "const": "POST",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "endpoint",
      -          "method"
      -        ],
      -        "type": "object"
      -      },
      -      "currentRound": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "livenessEndsAt": {
      -        "format": "date-time",
      -        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -        "type": "string"
      -      },
      -      "preparation": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "endpoint": {
      -            "const": "/api/agent/v1/resolve/challenge/prepare",
      -            "type": "string"
      -          },
      -          "method": {
      -            "const": "POST",
      -            "type": "string"
      -          },
      -          "options": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "counterOutcomeOptions": {
      -                "items": {
      -                  "anyOf": [
      -                    {
      -                      "const": 1,
      -                      "type": "number"
      -                    },
      -                    {
      -                      "const": 2,
      -                      "type": "number"
      -                    },
      -                    {
      -                      "const": 3,
      -                      "type": "number"
      -                    }
      -                  ]
      -                },
      -                "minItems": 1,
      -                "type": "array"
      -              },
      -              "market": {
      -                "$ref": "#/$defs/EvmAddress"
      -              }
      -            },
      -            "required": [
      -              "market",
      -              "counterOutcomeOptions"
      -            ],
      -            "type": "object"
      -          },
      -          "requiredInput": {
      -            "items": false,
      -            "maxItems": 3,
      -            "minItems": 3,
      -            "prefixItems": [
      -              {
      -                "const": "marketAddress",
      -                "type": "string"
      -              },
      -              {
      -                "const": "counterOutcome",
      -                "type": "string"
      -              },
      -              {
      -                "const": "evidenceHash",
      -                "type": "string"
      -              }
      -            ],
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "endpoint",
      -          "method",
      -          "requiredInput",
      -          "options"
      -        ],
      -        "type": "object"
      -      },
      -      "proposedOutcome": {
      -        "anyOf": [
      -          {
      -            "const": 0,
      -            "type": "number"
      -          },
      -          {
      -            "const": 1,
      -            "type": "number"
      -          },
      -          {
      -            "const": 2,
      -            "type": "number"
      -          },
      -          {
      -            "const": 3,
      -            "type": "number"
      -          }
      -        ]
      -      },
      -      "proposerBondWei": {
      -        "$ref": "#/$defs/WeiString"
      -      }
      -    },
      -    "required": [
      -      "proposedOutcome",
      -      "livenessEndsAt",
      -      "currentRound",
      -      "proposerBondWei",
      -      "challengerBondWei",
      -      "bondToken",
      -      "preparation",
      -      "confirmation"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "bondToken": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "address": {
      +            "$ref": "#/$defs/EvmAddress"
      +          },
      +          "chainId": {
      +            "$ref": "#/$defs/ChainId"
      +          },
      +          "decimals": {
      +            "exclusiveMinimum": 0,
      +            "maximum": 9007199254740991,
      +            "type": "integer"
      +          },
      +          "symbol": {
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "symbol",
      +          "address",
      +          "decimals",
      +          "chainId"
      +        ],
      +        "type": "object"
      +      },
      +      "challengerBondWei": {
      +        "$ref": "#/$defs/WeiString"
      +      },
      +      "confirmation": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "endpoint": {
      +            "const": "/api/agent/v1/resolve/challenge",
      +            "type": "string"
      +          },
      +          "method": {
      +            "const": "POST",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "endpoint",
      +          "method"
      +        ],
      +        "type": "object"
      +      },
      +      "currentRound": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "livenessEndsAt": {
      +        "format": "date-time",
      +        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +        "type": "string"
      +      },
      +      "preparation": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "endpoint": {
      +            "const": "/api/agent/v1/resolve/challenge/prepare",
      +            "type": "string"
      +          },
      +          "method": {
      +            "const": "POST",
      +            "type": "string"
      +          },
      +          "options": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "counterOutcomeOptions": {
      +                "items": {
      +                  "anyOf": [
      +                    {
      +                      "const": 1,
      +                      "type": "number"
      +                    },
      +                    {
      +                      "const": 2,
      +                      "type": "number"
      +                    },
      +                    {
      +                      "const": 3,
      +                      "type": "number"
      +                    }
      +                  ]
      +                },
      +                "minItems": 1,
      +                "type": "array"
      +              },
      +              "market": {
      +                "$ref": "#/$defs/EvmAddress"
      +              }
      +            },
      +            "required": [
      +              "market",
      +              "counterOutcomeOptions"
      +            ],
      +            "type": "object"
      +          },
      +          "requiredInput": {
      +            "maxItems": 3,
      +            "minItems": 3,
      +            "prefixItems": [
      +              {
      +                "const": "marketAddress",
      +                "type": "string"
      +              },
      +              {
      +                "const": "counterOutcome",
      +                "type": "string"
      +              },
      +              {
      +                "const": "evidenceHash",
      +                "type": "string"
      +              }
      +            ],
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "endpoint",
      +          "method",
      +          "requiredInput",
      +          "options"
      +        ],
      +        "type": "object"
      +      },
      +      "proposedOutcome": {
      +        "anyOf": [
      +          {
      +            "const": 0,
      +            "type": "number"
      +          },
      +          {
      +            "const": 1,
      +            "type": "number"
      +          },
      +          {
      +            "const": 2,
      +            "type": "number"
      +          },
      +          {
      +            "const": 3,
      +            "type": "number"
      +          }
      +        ]
      +      },
      +      "proposerBondWei": {
      +        "$ref": "#/$defs/WeiString"
      +      }
      +    },
      +    "required": [
      +      "proposedOutcome",
      +      "livenessEndsAt",
      +      "currentRound",
      +      "proposerBondWei",
      +      "challengerBondWei",
      +      "bondToken",
      +      "preparation",
      +      "confirmation"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive, so the safety profile is covered. The description adds genuinely new information that action details are conditionally populated, but it says nothing about cross-chain probing behavior, latency, or error cases for unresolved markets.

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?

Two tight sentences with the returned-field list front-loaded and no filler. The phrase 'public surface' is somewhat jargon-y but is the only vague wording in an otherwise economical definition.

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?

An output schema exists, so return values need no explanation, and annotations cover safety. However, for a tool whose chainId is optional and probes multiple chains, the description gives no hint about which chain's state is returned or how ambiguity is resolved, leaving a real gap.

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 both the address pattern and the chainId probe-on-omission behavior are already documented in the schema. The description adds no parameter-level meaning beyond that, which is the expected baseline when the schema does the work.

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 names a specific resource (per-market resolution state) and enumerates the returned fields: stage, reason, deadlines, action flags, final outcome. It is clearly a read of resolution state rather than general market state, but it never names the nearby siblings (kellian_get_market_state, kellian_list_pending_resolution_markets) so an agent must infer the boundary.

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?

There is no explicit when-to-use or when-not-to-use guidance and no mention of alternatives such as kellian_get_market_state. The clause 'Action details appear only when their public surface is available' is a behavioral caveat, not usage direction.

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.

Resources