Skip to main content
Glama

create_smart_dashboard

Builds a new ERPNext dashboard with automatic chart and report integration, letting you define cards and charts to organize key data.

Instructions

Create a new Dashboard with automatic chart and report integration

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": "create_smart_dashboard"
  }
}

Input Schema

NameRequiredDescriptionDefault
cardsNoArray of dashboard cards
chartsNoArray of charts to create and add to dashboard
moduleNoModule name (optional, defaults to 'Custom')
is_defaultNoIs default dashboard (1/0, optional, defaults to 0)
is_standardNoIs standard dashboard (1/0, optional, defaults to 0)
dashboard_nameYesDashboard name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a write operation that also creates charts and cards, but says nothing about permissions required, whether nested charts are newly created or referenced, how defaults like module ('Custom') and is_standard affect the result, or what happens on partial failure. For a 6-parameter creation tool with zero annotation coverage, this is a substantial gap.

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?

A single front-loaded sentence with no wasted words and the core action stated first. The phrase 'automatic chart and report integration' is slightly vague marketing-style wording, but the sentence is efficient and readable.

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?

For a tool with six parameters, nested card/chart arrays, no annotations, and no output schema, the definition is too thin. It omits the relationship between the top-level dashboard and its nested cards/charts, the defaults for module and is_standard, and any indication of the response or failure behavior.

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 100%, so every parameter including the nested cards and charts objects is already documented in the schema. The description adds only the high-level notion that charts and reports are integrated automatically, which marginally frames the arrays but gives no additional syntax or constraint detail. Baseline 3 applies when the schema does the heavy lifting.

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 ('Create a new Dashboard') and adds a distinguishing trait ('automatic chart and report integration') that hints at how this differs from the plain create_dashboard sibling. However, it never explicitly contrasts the two, so an agent must infer the 'smart' variant's role from the name alone.

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 guidance on when to choose this over create_dashboard or create_chart/create_report, and no stated prerequisites or exclusions. The only usage signal is the vague phrase 'automatic chart and report integration', which leaves the selection decision to inference.

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