Skip to main content
Glama
imviky-ctrl

Tickerr — Live AI Tool Status & API Pricing

get_incidents

Get historical incident records including outages and degradations for any AI tool over the last 90 days. Data sourced from 26 official provider status pages for reliable status history.

Instructions

Get historical incidents (outages, degradations) for any AI tool from the last 90 days. Sourced from 26 official provider status pages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesTool slug — e.g. "chatgpt", "claude", "gemini"
limitNoNumber of incidents (default 10, max 50)

Implementation Reference

  • The async handler function that executes the get_incidents tool logic: fetches incidents from the API, formats them into a readable text response.
    async ({ slug, limit }) => {
      const qs = limit ? `?limit=${limit}` : ''
      const d = await fetchJSON<{ tool: { slug: string; name: string }; incidents: Incident[]; count: number }>(
        `/tools/${slug}/incidents${qs}`
      )
    
      if (d.count === 0) {
        return { content: [{ type: 'text' as const, text: `No incidents found for ${d.tool.name} in the last 90 days.` }] }
      }
    
      const lines = [`**${d.tool.name}** — ${d.count} incident(s) in the last 90 days:\n`]
      for (const inc of d.incidents) {
        const resolved = inc.resolved_at ? `Resolved ${new Date(inc.resolved_at).toUTCString()}` : '🔴 ONGOING'
        const duration = inc.resolved_at
          ? ` (${Math.round((new Date(inc.resolved_at).getTime() - new Date(inc.started_at).getTime()) / 60000)}m)`
          : ''
        lines.push(`### ${inc.title}`, `${inc.severity.toUpperCase()} · ${resolved}${duration}`)
        if (inc.description) lines.push(inc.description)
        if (inc.affected_components?.length) lines.push(`Affected: ${inc.affected_components.join(', ')}`)
        lines.push('')
      }
      return { content: [{ type: 'text' as const, text: lines.join('\n') }] }
    }
  • Input validation schema using Zod: slug (string) and optional limit (integer 1-50).
    {
      slug: z.string().describe('Tool slug — e.g. "chatgpt", "claude", "gemini"'),
      limit: z.number().int().min(1).max(50).optional().describe('Number of incidents (default 10, max 50)'),
    },
  • src/index.ts:112-142 (registration)
    Tool registration via server.tool() with name 'get_incidents', description, schema, and handler.
    server.tool(
      'get_incidents',
      'Get historical incidents (outages, degradations) for any AI tool from the last 90 days. Sourced from 26 official provider status pages.',
      {
        slug: z.string().describe('Tool slug — e.g. "chatgpt", "claude", "gemini"'),
        limit: z.number().int().min(1).max(50).optional().describe('Number of incidents (default 10, max 50)'),
      },
      async ({ slug, limit }) => {
        const qs = limit ? `?limit=${limit}` : ''
        const d = await fetchJSON<{ tool: { slug: string; name: string }; incidents: Incident[]; count: number }>(
          `/tools/${slug}/incidents${qs}`
        )
    
        if (d.count === 0) {
          return { content: [{ type: 'text' as const, text: `No incidents found for ${d.tool.name} in the last 90 days.` }] }
        }
    
        const lines = [`**${d.tool.name}** — ${d.count} incident(s) in the last 90 days:\n`]
        for (const inc of d.incidents) {
          const resolved = inc.resolved_at ? `Resolved ${new Date(inc.resolved_at).toUTCString()}` : '🔴 ONGOING'
          const duration = inc.resolved_at
            ? ` (${Math.round((new Date(inc.resolved_at).getTime() - new Date(inc.started_at).getTime()) / 60000)}m)`
            : ''
          lines.push(`### ${inc.title}`, `${inc.severity.toUpperCase()} · ${resolved}${duration}`)
          if (inc.description) lines.push(inc.description)
          if (inc.affected_components?.length) lines.push(`Affected: ${inc.affected_components.join(', ')}`)
          lines.push('')
        }
        return { content: [{ type: 'text' as const, text: lines.join('\n') }] }
      }
    )
  • The Incident TypeScript interface defining the shape of incident data returned from the API.
    interface Incident {
      id: string; title: string; description: string | null; severity: string
      started_at: string; resolved_at: string | null; source: string
      affected_components: string[] | null; impact: string | null
    }
Behavior3/5

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

With no annotations, the description carries the burden. It discloses the read-only nature (historical, sourced from status pages) and time range, but does not mention other behavioral aspects like authentication requirements, rate limits, or potential delays in data freshness.

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?

Two sentences, each with a clear purpose: first states the core function and time range, second adds source credibility. No redundant words, front-loaded for quick understanding.

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?

The description covers the tool's purpose, scope, and data origin, which is sufficient for a simple query tool with only two parameters. However, it lacks details about the return format (e.g., fields of each incident) which would be helpful for an agent, but given no output schema, this is a minor 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 the baseline is 3. The description adds no new meaning beyond the schema's parameter descriptions (e.g., examples for slug). It does not explain the impact of parameters on results.

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 explicitly states the tool retrieves historical incidents (outages, degradations) for AI tools, with a specific time range (last 90 days) and data source (26 provider status pages). It clearly distinguishes itself from sibling tools like 'get_tool_status' (current status) and pricing tools.

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

Usage Guidelines3/5

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

The description implies usage for historical incident data but does not explicitly state when to use this tool versus alternatives like 'get_tool_status' for current status. No exclusions or when-not-to-use guidance is provided.

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/imviky-ctrl/tickerr-mcp'

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