Skip to main content
Glama
AlgoChains

AlgoChains MCP Server

Official
by AlgoChains

get_kalshi_settlements

Read-onlyIdempotent

Fetch recently settled Kalshi prediction market contracts with signed verification. Returns profit-per-contract and settlement timestamps for analysis.

Instructions

Fetch recently settled Kalshi prediction market contracts (RSA-PSS signed). Returns results, profit-per-contract, and settlement timestamps. Requires KALSHI_ACCESS_KEY + KALSHI_PRIVATE_KEY_PATH. Inspired by 9crusher/mcp-server-kalshi settlements endpoint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of settlements to return
Behavior4/5

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

Annotations already mark it as read-only and idempotent. The description adds that it requires specific credentials and returns profit-per-contract and timestamps, plus the RSA-PSS signing detail, providing useful behavioral context beyond annotations.

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?

Three sentences, each adding essential information: purpose, return data, and requirements. No unnecessary words, front-loaded with the main action.

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 tool's simplicity (one optional param, no output schema), the description covers purpose, return data, auth, and source. It could mention pagination or maximum limit, but overall it's sufficiently complete.

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?

The single parameter 'limit' has a clear description in the schema. The description does not add any extra meaning or constraints beyond what the schema already provides, so baseline score is appropriate.

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 clearly states it fetches recently settled Kalshi contracts, specifying the resource (Kalshi settlements) and the action (fetch). It distinguishes from siblings like get_prediction_markets by focusing specifically on settlements.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description mentions authentication requirements (KALSHI keys) and implies it's for recent settlements. While it doesn't explicitly state when not to use or name alternatives, the context is clear enough for an agent to decide.

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/AlgoChains/algochains-mcp-server'

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