Skip to main content
Glama

Guide to writing a dashboard

get_dashboard_guide
Read-onlyIdempotent

How to write a dashboard file, as markdown: model2data's open dashboard spec (0.1.0, https://github.com/JB-Analytica/model2data/blob/main/model2data/spec/dashboards/README.md), with examples, then what the studio adds. Read it before writing or editing one. Needs no API key.

    With `project_id`, it ends with what that project offers a dashboard: its
    model name, metrics (with labels) and `table.column` dimensions.
    

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_dashboard_guide"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and closed-world, so safety is covered; the description adds real value beyond them by disclosing 'Needs no API key,' the spec version and source URL, and what the returned content contains. It stops short of describing length or structure of the guide beyond the examples/studio-additions split.

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?

Purpose and the read-before-writing instruction are front-loaded, and the project_id behavior is a distinct second paragraph. The long parenthetical with the GitHub URL and version string is bulky but earns its place as an authoritative reference.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read-only guide tool with an output schema, the agent knows what it returns, why to call it, that no key is needed, and exactly what the optional parameter changes. No material gap remains.

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?

The single parameter has 0% schema coverage, so the description must compensate, and it does: it explains that a supplied project_id makes the guide end with that project's model name, labeled metrics and table.column dimensions. It could be sharper about what happens when project_id is omitted (aside from the implied generic guide) or what an invalid id yields.

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 states a specific verb and resource: it returns a markdown guide on how to write a dashboard file, naming the upstream spec (model2data dashboard spec 0.1.0) and noting it includes examples plus studio additions. That is far more specific than a tautology and clearly differs from siblings like get_dashboard or save_dashboard, though it never names get_metrics_guide/get_model_guide as the parallel guides.

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 gives an explicit trigger: 'Read it before writing or editing one,' which maps directly onto save_dashboard/check_dashboard workflows. It does not name or exclude alternative guide tools, so the routing is clear for this tool but not comparative against siblings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources