Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_get_dashboard_widget_image

Read-only

Download a dashboard widget image from Cloud Insight for a specified time range, returning inline base64 data or saving the file to a local path.

Instructions

Download a dashboard widget image (binary) from Cloud Insight. Returns content type and size, plus base64 data when small; pass savePath to write the image to a file instead.

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": {
      "dashboardId": "<dashboardId>",
      "widgetId": "<widgetId>",
      "startTime": "<startTime>",
      "endTime": "<endTime>"
    },
    "name": "ncloud_get_dashboard_widget_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
endTimeYesEnd time in Unix epoch milliseconds
savePathNoLocal file path to save the image to; when given, the image bytes are not returned inline
widgetIdYesWidget ID (see ncloud_get_dashboard_widgets)
startTimeYesStart time in Unix epoch milliseconds
dashboardIdYesDashboard ID
widgetResolutionModeNoResolution: AUTO (same as dashboard, default) or HIGH (finer)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed6 schema fields changedv2.0.1
    • addedInput schema / properties / endTime
      Added value: +{
      +  "description": "End time in Unix epoch milliseconds",
      +  "type": "number"
      +}
    • addedInput schema / properties / savePath
      Added value: +{
      +  "description": "Local file path to save the image to; when given, the image bytes are not returned inline",
      +  "type": "string"
      +}
    • addedInput schema / properties / startTime
      Added value: +{
      +  "description": "Start time in Unix epoch milliseconds",
      +  "type": "number"
      +}
    • changedInput schema / properties / widgetId / description
      Previous value: -"Widget ID to get image for"New value: +"Widget ID (see ncloud_get_dashboard_widgets)"
    • addedInput schema / properties / widgetResolutionMode
      Added value: +{
      +  "description": "Resolution: AUTO (same as dashboard, default) or HIGH (finer)",
      +  "enum": [
      +    "AUTO",
      +    "HIGH"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "dashboardId",
      -  "widgetId"
      -]New value: +[
      +  "dashboardId",
      +  "widgetId",
      +  "startTime",
      +  "endTime"
      +]
  3. First observedv1.10.1

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the readOnlyHint annotation, the description discloses the return shape (content type, size, base64 payload) and, importantly, that the payload is inlined only 'when small' and suppressed when savePath is given. That threshold behavior is real context the annotation does not provide. It still omits failure modes, image format guarantees, and auth requirements.

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 well-formed sentence front-loads the verb and resource, then covers the return contract and the file-write alternative with no filler. Nothing could be removed without losing information.

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?

With no output schema, the description correctly carries the return-value burden, naming content type, size, and the base64-vs-savePath split. Required time-range and resolution parameters are left to the fully documented schema, which is reasonable, though a note on error cases or supported image formats would complete 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?

Schema description coverage is 100%, so all six parameters including savePath and widgetResolutionMode are already documented in the schema. The description reinforces the savePath/inline trade-off but adds no syntax or format detail beyond what is structured. Baseline 3 applies.

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?

States a specific verb and resource: 'Download a dashboard widget image (binary) from Cloud Insight,' which unambiguously identifies the operation. It does not explicitly contrast with the nearby sibling ncloud_query_widget_preview, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only guidance is a parameter-mode fork: use savePath to write to a file 'instead' of getting inline bytes. There is no explicit statement of when to pick this tool over ncloud_query_widget_preview or other dashboard siblings; the intended use is implied by the name and description rather than spelled out.

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

Deploy Server

Other Tools