Skip to main content
Glama

groundhog.markets

Market receipts

receipts
Read-onlyIdempotent

How often our settle value matched the venue's result, with every miss. No prices. format=json also returns structuredContent; the JSON Schema is at https://groundhog.markets/api/v1/schema.json

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "receipts"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNolast N days (30)
venueNo
familyNo
fieldsNofull (default) | compact: leave out null JSON keys (format=json)
formatNodefault tsv
compactNotrue = fields=compact

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / compact
      Added value: +{
      +  "description": "true = fields=compact",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / fields / description
      Previous value: -"full (default) | compact: leave out null members of the JSON (structuredContent and format=json)"New value: +"full (default) | compact: leave out null JSON keys (format=json)"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "asof": {
      -      "description": "Response time (UTC); when the QA ran is qa_at.",
      -      "type": "string"
      -    },
      -    "build": {
      -      "description": "The running commit, 7 hex (dev off Tokay). With method, ties this body's numbers to the code and rules that made them (CONTRACTS §51).",
      -      "type": "string"
      -    },
      -    "checked": {
      -      "description": "Events checked, all rows (the denominator).",
      -      "type": "integer"
      -    },
      -    "credit_keys": {
      -      "description": "Their keys (/credits lists every line).",
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "credits": {
      -      "description": "Credit strings to keep when you repeat numbers.",
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "credits_url": {
      -      "description": "The full credits page.",
      -      "type": "string"
      -    },
      -    "days": {
      -      "description": "Days covered (1-30).",
      -      "type": "integer"
      -    },
      -    "family": {
      -      "description": "Family asked for, or null for all.",
      -      "enum": [
      -        "high",
      -        "low",
      -        "rain",
      -        null
      -      ]
      -    },
      -    "kind": {
      -      "const": "receipts",
      -      "description": "Body kind."
      -    },
      -    "method": {
      -      "description": "Method id: the contract rules that made this body's numbers (blend-median-v1, rain-month-v5, markets-nbm-led-v4, receipts-qa-v1, history-as-issued-v3, status-readiness-v1). A rule change gives a new id, so equal ids mean the same method (CONTRACTS §51).",
      -      "type": "string"
      -    },
      -    "misses": {
      -      "description": "Every miss and not-checkable event.",
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "date": {
      -            "description": "The event's date.",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "event": {
      -            "description": "Venue event id.",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "family": {
      -            "description": "high | low | rain.",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "line": {
      -            "description": "The miss in one line.",
      -            "type": "string"
      -          },
      -          "ours": {
      -            "description": "Our value.",
      -            "type": [
      -              "number",
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "place": {
      -            "description": "City slug.",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "reason": {
      -            "description": "Machine-set reason (cli_corrected_after_settle, report_missing, ...).",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "result": {
      -            "description": "The venue's result.",
      -            "type": [
      -              "number",
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "venue": {
      -            "description": "Venue.",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "line"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "notes": {
      -      "description": "Sentences; always ends with \"No prices.\".",
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "qa_at": {
      -      "description": "When the market QA last ran (UTC); null = never: nothing evaluated yet.",
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "rows": {
      -      "description": "One row per product x rule version.",
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "checked": {
      -            "description": "Events checked.",
      -            "type": "integer"
      -          },
      -          "days": {
      -            "description": "Distinct checked event dates in the window (the body's `days` is the window).",
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          },
      -          "differs": {
      -            "description": "Misses; null until the claim minimum.",
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          },
      -          "last_date": {
      -            "description": "The newest checked event date; null when none (CONTRACTS §47).",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "match": {
      -            "description": "Matches; null until the product has the claim minimum of checked events.",
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          },
      -          "not_checkable": {
      -            "description": "Events we could not check (reason in the misses).",
      -            "type": "integer"
      -          },
      -          "product": {
      -            "description": "Settlement product.",
      -            "type": "string"
      -          },
      -          "rule_from": {
      -            "description": "The rule version: first date it applies.",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "shown": {
      -            "description": "True once match/differs may be shown (claim gate).",
      -            "type": "boolean"
      -          },
      -          "since": {
      -            "description": "First checked date.",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "venue_asof": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "{venue: when groundhog last read its results (UTC)} for the venues behind this row; Kalshi: the last imported Kalshi file (none since 10/29, CONTRACTS §33)."
      -          }
      -        },
      -        "required": [
      -          "product",
      -          "checked",
      -          "not_checkable",
      -          "shown"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "state": {
      -      "description": "unvalidated = 0 checked (not a perfect score); below_claim = checked but no product has the claim minimum (match/differs null); reported = at least one product shows match/differs.",
      -      "enum": [
      -        "unvalidated",
      -        "below_claim",
      -        "reported"
      -      ]
      -    },
      -    "v": {
      -      "const": 1,
      -      "description": "Body version."
      -    },
      -    "venue": {
      -      "description": "Venue asked for, or null for both.",
      -      "enum": [
      -        "kalshi",
      -        "polymarket",
      -        null
      -      ]
      -    }
      -  },
      -  "required": [
      -    "v",
      -    "kind",
      -    "asof",
      -    "state",
      -    "checked",
      -    "days",
      -    "rows",
      -    "misses",
      -    "notes",
      -    "credits",
      -    "credit_keys",
      -    "credits_url"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Changed1 schema field changed
    • changedOutput schema / properties / method / description
      Previous value: -"Method id: the contract rules that made this body's numbers (blend-median-v1, rain-month-v3, markets-nbm-led-v2, receipts-qa-v1, history-as-issued-v3, status-readiness-v1). A rule change gives a new id, so equal ids mean the same method (CONTRACTS §51)."New value: +"Method id: the contract rules that made this body's numbers (blend-median-v1, rain-month-v5, markets-nbm-led-v4, receipts-qa-v1, history-as-issued-v3, status-readiness-v1). A rule change gives a new id, so equal ids mean the same method (CONTRACTS §51)."
  3. Changed2 schema fields changed
    • addedInput schema / properties / fields
      Added value: +{
      +  "description": "full (default) | compact: leave out null members of the JSON (structuredContent and format=json)",
      +  "enum": [
      +    "full",
      +    "compact"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "asof": {
      +      "description": "Response time (UTC); when the QA ran is qa_at.",
      +      "type": "string"
      +    },
      +    "build": {
      +      "description": "The running commit, 7 hex (dev off Tokay). With method, ties this body's numbers to the code and rules that made them (CONTRACTS §51).",
      +      "type": "string"
      +    },
      +    "checked": {
      +      "description": "Events checked, all rows (the denominator).",
      +      "type": "integer"
      +    },
      +    "credit_keys": {
      +      "description": "Their keys (/credits lists every line).",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "credits": {
      +      "description": "Credit strings to keep when you repeat numbers.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "credits_url": {
      +      "description": "The full credits page.",
      +      "type": "string"
      +    },
      +    "days": {
      +      "description": "Days covered (1-30).",
      +      "type": "integer"
      +    },
      +    "family": {
      +      "description": "Family asked for, or null for all.",
      +      "enum": [
      +        "high",
      +        "low",
      +        "rain",
      +        null
      +      ]
      +    },
      +    "kind": {
      +      "const": "receipts",
      +      "description": "Body kind."
      +    },
      +    "method": {
      +      "description": "Method id: the contract rules that made this body's numbers (blend-median-v1, rain-month-v3, markets-nbm-led-v2, receipts-qa-v1, history-as-issued-v3, status-readiness-v1). A rule change gives a new id, so equal ids mean the same method (CONTRACTS §51).",
      +      "type": "string"
      +    },
      +    "misses": {
      +      "description": "Every miss and not-checkable event.",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "date": {
      +            "description": "The event's date.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "event": {
      +            "description": "Venue event id.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "family": {
      +            "description": "high | low | rain.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "line": {
      +            "description": "The miss in one line.",
      +            "type": "string"
      +          },
      +          "ours": {
      +            "description": "Our value.",
      +            "type": [
      +              "number",
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "place": {
      +            "description": "City slug.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "reason": {
      +            "description": "Machine-set reason (cli_corrected_after_settle, report_missing, ...).",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "result": {
      +            "description": "The venue's result.",
      +            "type": [
      +              "number",
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "venue": {
      +            "description": "Venue.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "line"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "notes": {
      +      "description": "Sentences; always ends with \"No prices.\".",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "qa_at": {
      +      "description": "When the market QA last ran (UTC); null = never: nothing evaluated yet.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "rows": {
      +      "description": "One row per product x rule version.",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "checked": {
      +            "description": "Events checked.",
      +            "type": "integer"
      +          },
      +          "days": {
      +            "description": "Distinct checked event dates in the window (the body's `days` is the window).",
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "differs": {
      +            "description": "Misses; null until the claim minimum.",
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "last_date": {
      +            "description": "The newest checked event date; null when none (CONTRACTS §47).",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "match": {
      +            "description": "Matches; null until the product has the claim minimum of checked events.",
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "not_checkable": {
      +            "description": "Events we could not check (reason in the misses).",
      +            "type": "integer"
      +          },
      +          "product": {
      +            "description": "Settlement product.",
      +            "type": "string"
      +          },
      +          "rule_from": {
      +            "description": "The rule version: first date it applies.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "shown": {
      +            "description": "True once match/differs may be shown (claim gate).",
      +            "type": "boolean"
      +          },
      +          "since": {
      +            "description": "First checked date.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "venue_asof": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "{venue: when groundhog last read its results (UTC)} for the venues behind this row; Kalshi: the last imported Kalshi file (none since 10/29, CONTRACTS §33)."
      +          }
      +        },
      +        "required": [
      +          "product",
      +          "checked",
      +          "not_checkable",
      +          "shown"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "state": {
      +      "description": "unvalidated = 0 checked (not a perfect score); below_claim = checked but no product has the claim minimum (match/differs null); reported = at least one product shows match/differs.",
      +      "enum": [
      +        "unvalidated",
      +        "below_claim",
      +        "reported"
      +      ]
      +    },
      +    "v": {
      +      "const": 1,
      +      "description": "Body version."
      +    },
      +    "venue": {
      +      "description": "Venue asked for, or null for both.",
      +      "enum": [
      +        "kalshi",
      +        "polymarket",
      +        null
      +      ]
      +    }
      +  },
      +  "required": [
      +    "v",
      +    "kind",
      +    "asof",
      +    "state",
      +    "checked",
      +    "days",
      +    "rows",
      +    "misses",
      +    "notes",
      +    "credits",
      +    "credit_keys",
      +    "credits_url"
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is covered. The description adds real behavioral context on top of that: misses are included rather than filtered, prices are excluded, and format=json additionally returns structuredContent with a published schema. It does not cover volume, pagination, or row shape, so it stops short of a 5.

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 short sentences, front-loaded with the core purpose and the 'No prices' scope exclusion before the format details. Nothing is padded. The phrasing is telegraphic in places ('with every miss'), which costs it a point on clarity but not on economy.

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?

With six optional parameters, no required fields, and no output schema, the description should explain the shape of the returned report; instead it only says JSON mode yields structuredContent and points to an external schema URL that appears to document input. An agent can call it, but cannot anticipate what the report contains or how venue/family/days segment it.

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 67% and four parameters are enums, so the schema does most of the work. The description contributes meaning for format=json (structuredContent plus a schema URL), but says nothing about how days, venue, or family shape the report, leaving the low-coverage parameters unassisted. Baseline 3 for moderate coverage with only marginal added meaning.

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 states the resource and its content precisely: a reconciliation report of 'how often our settle value matched the venue's result, with every miss.' That is specific enough to distinguish an accuracy/audit report from data-fetching siblings like markets or history. It lacks an explicit verb and any named sibling for contrast, which keeps it below a 5.

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 when-to-use guidance, no prerequisites, and no alternative named among the many siblings (coverage, history, markets). Only the negative constraint 'No prices' hints at scope, which is content exclusion rather than usage direction. The agent must infer the retrieval context from the phrase 'receipts.'

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