Skip to main content
Glama

get_dashboard

Read-only

Retrieve the KPI dashboard for a project's newest completed run, including the SQL query behind each metric.

Instructions

The KPI dashboard of the project's newest completed run, with each metric's SQL.

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": {
      "project_id": "<project_id>"
    },
    "name": "get_dashboard"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes

Output Schema

NameRequiredDescriptionDefault
run_idYes
metricsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the read-only safety profile is covered and the description does not need to restate it. The description does add real behavioral context beyond annotations: the result is pinned to the newest completed run and includes per-metric SQL. It omits edge behavior, such as what is returned when no completed run exists.

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?

A single front-loaded clause with zero filler; the most decision-relevant fact (newest completed run) is stated first, and the SQL detail follows. Nothing would be lost by keeping it as is.

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 single-parameter read tool with an output schema, readOnlyHint, and no nested objects, the description covers scope and payload shape adequately, so return values do not need explaining. The remaining gap is the no-completed-run case, which an agent would want to anticipate.

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 0%, so the description must carry the burden, and it only implies that project_id scopes the lookup ('the project's newest completed run'). It adds no format or identifier-type detail (ID vs. name) beyond what the bare string schema provides, leaving the single parameter underspecified.

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 names a specific resource (the KPI dashboard) and a precise scope (the project's newest completed run), plus a notable content detail ('with each metric's SQL'). It does not name a sibling to contrast with, but the scope is narrow enough that an agent can tell it apart from get_run and get_check_results, which return different artifacts.

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?

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. The phrase 'newest completed run' implicitly constrains the agent (you cannot ask for an arbitrary run), but the agent gets no help deciding between this and get_run or get_check_results when it just wants status or failure info.

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