Skip to main content
Glama

Get the Host Metrics layout for a host

termix_metrics_get_host_metrics_layout_host
Read-onlyIdempotent

Fetch a host's metrics card layout, returning the saved arrangement or a default based on enabled widgets.

Instructions

Get the Host Metrics layout for a host. Returns the current user's saved card layout for the host, or a default layout derived from the host's enabled widgets when none is saved.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, and non-destructive nature. The description adds valuable context by explaining the fallback to a default layout when no saved layout exists, and that it is scoped to the current user. This goes beyond the annotations and helps the agent anticipate behavior.

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?

The description is a single, well-structured sentence that front-loads the main action and then adds the fallback nuance. No unnecessary words or repetition; every part adds value.

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?

For a read-only getter with a single parameter and no output schema, the description covers the core purpose and behavioral nuance. It would benefit from explicitly naming the 'id' parameter semantics, but overall it's quite complete for the tool's simplicity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must clarify the 'id' parameter. It only says 'for a host', implying 'id' is a host identifier, but does not explicitly state that 'id' is the host ID or how to obtain it. This is a significant gap given the parameter is required and undocumented in the schema.

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 clearly states the verb 'Get' and the resource 'Host Metrics layout' for a host. It specifies two possible outcomes (saved layout or default layout), which distinguishes it from simply getting raw metrics. However, it does not explicitly name or contrast with sibling tools like 'save_host_metrics_layout_host' or 'get_host_metrics', leaving some differentiation to inference.

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 explicit guidance on when to use this tool versus alternatives. The description does not state that this is for fetching layout configuration rather than metric values, nor does it mention when a user might need to save or update the layout. The behavioral note about saved vs default layout is helpful but not framed as usage guidance.

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