Skip to main content
Glama

Get service container discovery

get_service_container_discovery
Read-onlyIdempotent

Poll a pending service container discovery by order number and discovery UUID, checking status until it succeeds, fails, or expires without starting a new discovery.

Instructions

Poll the exact persisted service container discovery returned by discover_service_containers when it remains pending. This GET does not create another discovery and never returns environment values or mounts. Keep the service and discovery UUID until succeeded, failed or expired. Requires applications:read.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "orderNo": "<orderNo>",
      "discovery_id": "<discovery_id>"
    },
    "name": "get_service_container_discovery"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderNoYesTenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1
discovery_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.3.21
    • addedInput schema / properties / discovery_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
  2. First observedv2.3.16

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered; the description adds substantive context: no environment values or mounts are ever returned, no new discovery is created, and the UUID must be retained across calls. It stops short of describing the response payload shape or any backoff/rate-limit guidance for repeated polling.

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?

Four short sentences, front-loaded with the action and the polling lifecycle, with the permission requirement last. Slightly dense but every clause carries information; no 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 two-parameter read-only polling tool with no output schema, the description covers origin of the ID, lifecycle states, absence of secret values in the response, idempotency behavior, and the required scope. An agent can invoke and loop it correctly with no further inference.

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?

orderNo is documented in the schema (format, length, examples) while discovery_id carries only format/pattern, giving 50% coverage. The description adds the key semantic that discovery_id is the identifier returned by discover_service_containers and must be reused unchanged, but says nothing extra about orderNo beyond the schema.

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?

Specific verb (poll) plus precisely scoped resource (the exact persisted discovery produced by discover_service_containers). The description explicitly distinguishes itself from the sibling that creates the discovery, so an agent can tell the two apart without opening either schema.

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?

States exactly when to use it (when the discovery from discover_service_containers remains pending), what not to expect (no new discovery created), and how long to keep polling (until succeeded, failed, or expired). That is an explicit use/stop condition plus the alternative already named.

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