Skip to main content
Glama

inspect_demo

Read-only

The first call for any question about an Application demo or preview that does not work, does not load, times out, shows a certificate error, or says ready but cannot be opened. One call reads the demo record, the live state of its namespace on the staging cluster reduced to what decides reachability (deployment ready/desired counts, pod container waiting and terminated reasons with restarts, service selector and ready endpoint count, ingress hosts, address and TLS secret, cert-manager certificate readiness when present, the newest Warning events), probes the preview URL live from the Ankra platform (reachable, failure_stage dns/connect/timeout, HTTP status, resolved IP, TLS verified/issuer/days_until_expiry), and returns a verdict naming the first broken hop in plain words (for example 'hostname does not resolve (NXDOMAIN); the workload is healthy'). Answer from the verdict; do not re-read pods, services, ingresses or events yourself. read_failures lists what could not be read, so an empty inventory list means absent only when read_failures is empty. Identify the demo by workspace_id, namespace or preview_url (any one; list_application_demos shows all three). For a crash-looping container follow up with get_demo_diagnostics for the log tail. Read-only.

Input Schema

NameRequiredDescriptionDefault
namespaceNoThe demo namespace (ankra-demo-pr-* / ankra-demo-br-*). Optional if workspace_id or preview_url is given.
preview_urlNoThe preview URL or hostname the user is trying to open, matched against the demo's recorded preview_url. Optional if workspace_id or namespace is given.
workspace_idNoThe demo's workspace id. Optional if namespace or preview_url is given.
application_idYesThe Application whose demo to inspect.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true, but the description adds substantial behavior: it reads the demo record, the staging namespace state (deployment ready/desired, pod waiting/terminated reasons with restarts, service endpoints, ingress/TLS, cert-manager readiness, newest Warning events), and performs a live URL probe from the Ankra platform with failure_stage classification. It also discloses the read_failures semantics ('an empty inventory list means absent only when read_failures is empty'), which is exactly the kind of caveat annotations cannot carry.

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?

Front-loaded with the trigger condition and the action, and every sentence carries information (what it reads, what it returns, what to avoid, how to identify the demo). The middle paragraph is a single very long sentence enumerating collected fields, which is dense but not wasteful; minor readability cost.

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?

No output schema exists, and the description compensates fully: it describes the verdict format ('first broken hop in plain words' with an example), the probe fields, the failure_stage values, and the read_failures caveat. An agent has everything needed to call and interpret this tool without further discovery.

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 100%, so the baseline is 3, but the description adds a real disambiguation rule: identify the demo by workspace_id, namespace or preview_url — any one — and points to list_application_demos for obtaining all three. It also states application_id is the required anchor for the Application. That is meaningful added semantics beyond the property descriptions.

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?

Starts with a precise verb+resource+trigger: 'The first call for any question about an Application demo or preview that does not work, does not load, times out...'. It clearly distinguishes itself from neighbors like get_demo_diagnostics, redeploy_demo and list_application_demos by enumerating the failure symptoms it owns.

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

Usage Guidelines5/5

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

Explicitly says it is the first call for demo/preview failures, names list_application_demos as the source of identifiers, routes crash-looping containers to get_demo_diagnostics for the log tail, and instructs the agent NOT to re-read pods, services, ingresses or events itself.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources