Skip to main content
Glama
yigitabi5444

Polymarket MCP Server

by yigitabi5444

get_tick_size

Retrieve the minimum price increment for Polymarket prediction market tokens to ensure accurate trading calculations and order placement.

Instructions

Get the minimum tick size (price increment) for a Polymarket token.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
token_idYesCLOB token ID

Implementation Reference

  • Registration of the get_tick_size tool.
    server.tool(
      "get_tick_size",
      "Get the minimum tick size (price increment) for a Polymarket token.",
      {
        token_id: z.string().describe("CLOB token ID"),
      },
      async (args) => {
        try {
          const data = await clob.getTickSize(args.token_id);
          return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
        } catch (error) {
          return {
            content: [{ type: "text", text: `Error: ${(error as Error).message}` }],
            isError: true,
          };
        }
      },
    );
  • Handler implementation for get_tick_size in the ClobApi class.
    async getTickSize(tokenId: string): Promise<ClobTickSize> {
      return this.client.clob<ClobTickSize>("/tick-size", {
        token_id: tokenId,
      });
    }
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool retrieves data ('Get'), implying a read-only operation, but doesn't mention any behavioral traits like error handling, rate limits, authentication needs, or what happens with invalid token IDs. This is a significant gap for a tool with no annotation coverage.

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?

The description is a single, efficient sentence that directly states the tool's purpose with zero wasted words. It's appropriately sized and front-loaded, making it easy to parse quickly.

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 the lack of annotations and output schema, the description is incomplete. It doesn't explain what the tool returns (e.g., the tick size value format, possible errors, or example output), leaving the agent with gaps in understanding how to use the result. For a data retrieval tool in a complex domain like financial markets, more context is needed.

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 description doesn't add any meaning beyond the input schema, which has 100% coverage for the single parameter 'token_id'. The schema already describes it as a 'CLOB token ID', so the description provides no additional context about parameter usage or semantics. This meets the baseline of 3 when schema coverage is high.

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 clearly states the action ('Get') and resource ('minimum tick size for a Polymarket token'), making the purpose specific and understandable. However, it doesn't distinguish this tool from its many siblings (e.g., get_price, get_market, get_order_book), which all retrieve different data about Polymarket tokens, so it doesn't achieve full differentiation.

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?

The description provides no guidance on when to use this tool versus alternatives. With many sibling tools that retrieve related market data (e.g., get_price, get_market, get_order_book), there's no indication of when tick size is needed specifically, leaving the agent to infer usage from the name alone.

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/yigitabi5444/yigit_polymarket_mcp'

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