Skip to main content
Glama

Export Saved Objects

export_saved_objects
Read-only

Export Kibana saved objects such as dashboards and data views to an NDJSON file on the server, returning a handle for later import.

Instructions

Export saved objects (dashboards, data views, …) as an NDJSON file on the server, and return a summary + an opaque handle — NOT the content — that you pass to import_saved_objects. Select EITHER types (e.g. ["dashboard"], or ["*"] for the whole space) OR objects (a list of {"type":…, "id":…}, from find_saved_objects), not both. This is a sensitive export surface; what can actually be read is bounded by the API key's privileges, not by this tool.

space targets a Kibana space by id (default: the default space).

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

Input Schema

NameRequiredDescriptionDefault
spaceNo
typesNo
objectsNo
include_references_deepNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations supply readOnlyHint=true/openWorldHint=false, but the description adds real context beyond them: the export is written as a file on the server, the tool returns a handle rather than content, and readability is bounded by the API key's privileges — flagged as a 'sensitive export surface'. It does not mention rate limits, file lifetime, or whether repeated exports accumulate files.

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 critical information (what it returns, the either/or selection rule) is front-loaded in the first two sentences, and the space note is correctly demoted to the end. The hard line-wrapping in the source text slightly hurts scanning but no sentence is filler.

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?

An output schema exists, so return values need only be oriented — which the description does by naming the summary + handle. The main gaps for a 4-parameter, zero-annotation-detail tool are the undocumented `include_references_deep` flag and the lack of any file-location or cleanup guidance.

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?

Schema description coverage is 0%, so the description carries the full burden. It documents `space` (id, default space), `types` (with a concrete dashboard example and wildcard), and `objects` (entry shape {"type":…, "id":…} and provenance from find_saved_objects), plus the mutual-exclusion rule. Only `include_references_deep` is left unexplained, which keeps it off a 5.

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?

States a precise verb and resource (export saved objects to an NDJSON file) and names the exact downstream consumer (import_saved_objects) plus the upstream source (find_saved_objects). It also explains what is returned — a summary and an opaque `handle`, not the content — so the agent can distinguish it from get_saved_object or find_saved_objects without opening any schema.

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?

Gives explicit selection rules: use EITHER `types` OR `objects`, not both, with an example of each and the `"*"` wildcard. It also routes the agent to find_saved_objects to obtain the object list and to import_saved_objects as the consumer of the handle. It stops short of stating when not to use this tool (e.g., single-object retrieval), so it is strong but not complete.

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