Skip to main content
Glama

generate_dashboard_schema

Generates a dashboard schema from a dashboard name, enabling AI assistants to define the structure needed to build or validate ERPNext dashboards.

Instructions

Generate a dashboard schema for a Dashboard

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": {
      "dashboard_name": "<dashboard_name>"
    },
    "name": "generate_dashboard_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
dashboard_nameYesDashboard name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.1/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full behavioral burden and discloses nothing: it does not say whether generation is read-only or persists a dashboard, whether the name must reference an existing dashboard or creates one, whether repeat calls are idempotent, or what form the resulting schema takes. With zero annotation coverage and no output schema, this is a complete behavioral blank.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and free of padding, but its brevity stems from under-specification rather than economy. There is no wasted wording to cut, yet nothing of substance is delivered.

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

Completeness2/5

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

With no annotations, no output schema, and a single fully documented parameter, the description still fails to say what actually comes back from a tool whose entire purpose is producing an artifact. An agent cannot judge from this text what the generated schema looks like or what to do with it.

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?

There is a single parameter, dashboard_name, and schema coverage is 100%, so the schema already documents it. The description adds no meaning about naming format, uniqueness, or whether the name identifies an existing dashboard or the new one to be created, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Generate a dashboard schema for a Dashboard" cycles the tool name back into a sentence without naming what a schema is or what it describes. The verb and resource are present but the object of the tool (a JSON schema? a metadata definition?) is never specified, so an agent cannot tell what it actually produces or how it differs from siblings like generate_form_schema or create_dashboard.

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 statement of when to call this versus create_dashboard, create_smart_dashboard, or generate_form_schema, and no prerequisites are given (e.g., must the dashboard already exist?). The description offers no context that would route an agent between this and its many siblings.

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