Skip to main content
Glama

Preview a dashboard tile

helix_foundry_preview_dashboard_tile
Read-onlyIdempotent

Check a dashboard tile and read its query once, as you, before you put it in a dashboard: returns its output, or why it has none. A spec is {"v": 1, "tiles": [...], "layout": {"rows": [["t1", "t2"], ["t3"]]}}: at most 20 tiles, each in exactly one row of 1 to 3. A tile is {"id": "t1" (1 to 32 lowercase letters, digits, - or _, starting with a letter or digit), "title": 1 to 80 characters, "ontology_id", "load": {"kind": "current"} (whichever load is current when it is viewed) or {"kind": "pinned", "load_id"}, "query": a typed query, the query read of helix_foundry_read_graph (helix_foundry_read_guide gives its schema): at most 200 rows or 100 groups, "visual": {"kind": "table" | "bar" | "line" | "figure"} or {} to show it as its output suits}. An answer's visual (helix_foundry_ask's) is a tile already: its question's queries[].query with the visual's kind and title.

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": {
      "tile": "<tile>"
    },
    "name": "helix_foundry_preview_dashboard_tile"
  }
}

Input Schema

NameRequiredDescriptionDefault
tileYesThe tile, as a spec holds it.
workspace_idNoHelix workspace identifier. May be empty when the caller has only one workspace.

Output Schema

NameRequiredDescriptionDefault
tileYesThe tile as a spec would keep it.
as_ofYes
load_idYes
outcomeYesUntrusted outcome of the tile's query: {ok: its answer} or {error: why it has none}. An integer past 2^53 comes as a string of its digits, which JSON numbers would round.
content_trustYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, non-destructive, closed-world safety profile. The description adds meaningful behavior beyond that: the query is read once as the caller, the tool returns the output or the reason there is none, and query results are capped at 200 rows or 100 groups.

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 purpose is front-loaded, and most of the dense tile-spec detail is necessary because the schema is opaque. The spec layout constraints, such as max 20 tiles and rows of 1 to 3, are extraneous for previewing a single tile and slightly inflate an otherwise efficient description.

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 complex nested free-form object, the description supplies the full tile contract, references read_graph/read_guide for query schema, explains how ask visuals map to tiles, and notes the output/error return. An output schema exists, so return shape detail is not needed, and workspace_id is covered by the input schema.

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

Parameters5/5

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

The schema technically has 100% description coverage, but the tile parameter is an opaque object with additionalProperties true and only the phrase 'as a spec holds it.' The description compensates fully by defining tile id rules, title length, ontology_id, load kinds, query source, row/group limits, and visual kinds.

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 gives a specific verb and resource: check a dashboard tile and read its query once before adding it to a dashboard. It also states the return behavior, output or why none, and distinguishes the preview role from sibling tools like read_graph and ask by explaining how their query or visual maps to a tile.

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?

The timing is clear: use this before putting a tile in a dashboard. It also explains how to construct a tile from an ask answer's visual. However, it stops short of explicitly naming an alternative preview path or stating when not to use this tool.

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