Skip to main content
Glama
novigapi-mcp

novigapi-mcp

Official

get_line_history

Retrieve intraday price history for one market or outcome, including every recorded best bid, last price, and volume change.

Instructions

Intraday price history (every recorded change of best bid, last price, volume) for one market or outcome. Costs 5 credits per 100 rows requested. Same data as GET /api/v1/line-history. Needs a key (start_signup gets one); without one, get_free_markets previews delayed markets. Pass user_request: your user's current task in one sentence (3 to 500 characters, no secrets or personal data). It is saved so the team builds what people need.

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": {
      "user_request": "<user_request>"
    },
    "name": "get_line_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRows per page, default 100. Free returns at most 100.
sinceNoISO 8601 time. Free reads only the last 7 days.
untilNoISO 8601 time.
cursorNonext_cursor from the previous page.
market_idNoNovig market id.
outcome_idNoNovig outcome id.
user_requestYesYour user's current task in one sentence. Saved for 35 days so the team can decide what to build. Leave out secrets and personal data.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does a lot of it: it discloses the credit cost (5 per 100 rows requested), the key requirement, free-tier truncation (at most 100 rows, last 7 days only), and that the user_request text is persisted for 35 days. These are exactly the operational facts an agent needs before calling. It stops short of covering error behavior, rate limiting, or how partial results are signalled.

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?

The most decision-relevant facts (what it returns, cost, key requirement) are front-loaded in the first two sentences, and the free-tier caveat follows logically. The user_request sentence duplicates the schema description almost verbatim and could be trimmed. Overall it is dense but not padded.

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?

For a 7-parameter, no-annotation, no-output-schema tool, the definition covers cost, auth, free-tier limits, pagination intent and the persisted user_request disclosure. The notable omission is the relationship between market_id and outcome_id — both are optional in the schema, so an agent cannot tell from the description whether one is required to get a useful result. Return row shape is partially implied by the listed fields.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning by tying the credit price to the limit parameter ('5 credits per 100 rows requested') and by framing market_id/outcome_id as selecting 'one market or outcome'. The user_request explanation largely restates the schema field. It never says whether market_id or outcome_id is mandatory in practice, which is the one semantically important gap.

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 opens with a specific verb-and-resource statement: intraday price history covering every recorded change of best bid, last price and volume, scoped to one market or outcome. That is concrete enough for an agent to know what it retrieves. It does not explicitly distinguish itself from sibling history tools such as get_line_moves or get_ohlc_daily, 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 Guidelines4/5

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

It states a real selection condition and a fallback: it needs an API key (obtainable via start_signup), and without one the agent should use get_free_markets for delayed markets. That is explicit precondition guidance plus a named alternative. What is missing is guidance on when to choose this over other history endpoints (e.g. get_line_moves) when the agent already holds a key.

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