Skip to main content
Glama

survey

Discovers what an application is made of by inspecting live Kubernetes namespaces, running images, and organization repositories, then returns a Saga descriptor as YAML.

Instructions

Discover what an application is made of, the images running in a Kubernetes namespace, the repositories in an organization, and return a Saga descriptor for it. Prefer this over writing a descriptor from the schema: which namespaces exist and which images are actually running, at which digest, is not something to guess at. It reads a live system with credentials this machine already has, and returns YAML rather than writing a file.

Input Schema

NameRequiredDescriptionDefault
nameNoproject name for the descriptor
surveysYesthe surveyors to run; results merge into one descriptor
versionNorelease version for the descriptor; omitted when empty

Output Schema

NameRequiredDescriptionDefault
noteNo
sagaYesthe descriptor this survey produced, as YAML
warningNo
controlsNo
componentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that the tool reads a live system using credentials already present on the machine, and that it returns YAML rather than writing a file, establishing a read-only, non-destructive profile. It stops short of stating failure behavior, credential prerequisites, or latency for live API calls.

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?

Three sentences, front-loaded with the purpose, followed by the selection rationale and the operational profile. No filler; every sentence adds decision-relevant 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?

An output schema exists so return values needn't be detailed, and all three parameters are documented. Combined with the safety and credential disclosure, an agent has nearly everything needed; only credential setup and error behavior are unaddressed.

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%, including per-field notes for ref, surveyor, name, and version, so the baseline is 3. The description adds the merge semantic implicitly (multiple surveys combine into one descriptor) but nothing about parameter syntax or format beyond what the schema already states.

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 names a specific verb and outcome — discover the real composition of a system (namespaces, images and digests, repos) and return a Saga descriptor. It is clearly distinguishable from siblings like list_surveyors, propose_saga, and get_saga_schema, since it produces a descriptor from live observation rather than from a provided 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?

"Prefer this over writing a descriptor from the schema" gives an explicit alternative and the reason to choose this tool (real namespaces, images, and digests cannot be guessed). It lacks an explicit when-not or the prerequisite step of calling list_surveyors first to learn surveyor names, which is only implied via the schema.

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