Skip to main content
Glama

Get Default Data View

get_default_data_view
Read-only

Retrieves a Kibana space's default data view and returns its ID, name, index pattern, and existence status, showing what Discover and other apps open with.

Instructions

Get the space's default data view — the one Discover and other Kibana apps open with. Returns its id, name and index_pattern, and exists: id is null when no default is set, and exists is false when the stored id names no data view in the space (Kibana keeps the id of a deleted view); set another with set_default_data_view.

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

Input Schema

NameRequiredDescriptionDefault
spaceNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare this is a read-only, closed-world operation, so safety is covered. The description adds meaningful behavioral detail beyond that: id is null when no default exists, exists is false when a stored id points to a deleted data view, and Kibana retains deleted ids.

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 core purpose is front-loaded, and the following sentences add substantive details about return semantics and alternatives. It is slightly dense in the edge-case sentence but does not waste space on filler.

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 simple read tool with an output schema and one optional parameter, the description covers purpose, return meaning, existence edge cases, the setter alternative, and space scoping. Nothing essential for correct invocation appears missing.

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%, and the single parameter is documented only as a regex-constrained nullable string in the schema. The description compensates by explaining that space selects a Kibana space by id and defaults to the default space.

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 states a specific verb and resource: get the space's default data view, and explains what that means by tying it to Discover and other Kibana apps. It also names the sibling setter, making the read/write distinction clear without opening another 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?

It gives clear context for use: retrieving the data view Kibana apps open with, and explicitly routes the agent to set_default_data_view for changing it. It does not address other nearby alternatives such as list_data_views or describe_data_view, so it is strong but not fully exhaustive.

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