GovTribe

Show chart MCP tool

Render a read-only inline chart as a standard `trend`, `comparison`, or `leaderboard` view from structured rows and series data.

Examples

Use charts when the user needs a compact visual for trends, comparisons, or ranked leaders. Use Show_Stats_Display for KPI cards instead.

Show monthly obligated dollars as a trend

{
  "tool": "Show_Chart",
  "arguments": {
    "id": "monthly-obligations-trend",
    "kind": "trend",
    "title": "Monthly obligated dollars",
    "description": "Recent award activity for the selected market.",
    "rows": [
      {
        "month": "2026-01",
        "monthLabel": "Jan",
        "obligations": 12500000
      },
      {
        "month": "2026-02",
        "monthLabel": "Feb",
        "obligations": 18200000
      },
      {
        "month": "2026-03",
        "monthLabel": "Mar",
        "obligations": 16400000
      }
    ],
    "labelKey": "monthLabel",
    "fullLabelKey": "month",
    "series": [
      {
        "key": "obligations",
        "label": "Obligations"
      }
    ],
    "valueFormat": {
      "kind": "currency",
      "currency": "USD",
      "compact": true
    },
    "footnote": "Source: GovTribe award search rollup."
  }
}

Show top awardees as a leaderboard

{
  "tool": "Show_Chart",
  "arguments": {
    "id": "top-awardees-leaderboard",
    "kind": "leaderboard",
    "title": "Top awardees by obligated dollars",
    "rows": [
      {
        "vendor": "Example Systems LLC",
        "obligations": 42000000
      },
      {
        "vendor": "Modernization Partners Inc.",
        "obligations": 27500000
      },
      {
        "vendor": "Secure Mission Group",
        "obligations": 18800000
      }
    ],
    "labelKey": "vendor",
    "series": [
      {
        "key": "obligations",
        "label": "Obligations"
      }
    ],
    "valueFormat": {
      "kind": "currency",
      "currency": "USD",
      "compact": true
    },
    "maxItems": 10
  }
}

Payload patterns

Rows can use caller-defined keys, but every row must include the configured labelKey and every series.key.

Compare pipeline value and likely value by stage

{
  "tool": "Show_Chart",
  "arguments": {
    "id": "pipeline-stage-comparison",
    "kind": "comparison",
    "title": "Pipeline by stage",
    "rows": [
      {
        "stage": "Qualify",
        "pipelineValue": 12500000,
        "likelyValue": 3500000
      },
      {
        "stage": "Pursue",
        "pipelineValue": 8700000,
        "likelyValue": 4200000
      }
    ],
    "labelKey": "stage",
    "series": [
      {
        "key": "pipelineValue",
        "label": "Pipeline value"
      },
      {
        "key": "likelyValue",
        "label": "Likely value"
      }
    ],
    "valueFormat": {
      "kind": "currency",
      "currency": "USD",
      "compact": true
    }
  }
}