Skip to main content
Glama

Get application inspection

get_application_inspection
Read-onlyIdempotent

Poll a pending application health or logs inspection without queueing another; reuse the same service, installation, inspection ID, and kind until it succeeds, fails, or expires.

Instructions

Poll the exact persisted health or logs inspection returned by get_application_health or get_application_logs when it remains pending. This GET does not queue another inspection. Keep the same service, installation, inspection UUID and kind 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>",
      "installation_id": "<installation_id>",
      "inspection_id": "<inspection_id>",
      "kind": "<kind>"
    },
    "name": "get_application_inspection"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
orderNoYesTenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1
inspection_idYes
installation_idYesManaged application installation UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.3.21
    • addedInput schema / properties / inspection_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})$"
    • addedInput schema / properties / installation_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.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds value beyond them: it clarifies that polling has no queueing side effect, discloses the terminal states (succeeded, failed, expired) that end polling, and states the required 'applications:read' scope. That is real behavioral context an agent cannot get from the annotations.

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 tight sentences, front-loaded with the polling purpose, then the no-side-effect caveat, then the parameter-stability and auth constraints. No filler and no repetition of the title.

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 four-parameter polling call with no output schema, the definition covers purpose, alternatives, terminal conditions and auth. Minor gaps: no suggested polling cadence/backoff, and no guidance on what to expect if the inspection_id is unknown or already expired (e.g., whether an error or a terminal status is returned).

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 coverage is only 50% (orderNo and installation_id are documented; inspection_id and kind are not), and the description compensates by tying all four parameters to the originating call: the same service, installation, inspection UUID and kind must be reused. It stops short of explaining the kind enum values or what an unknown/expired inspection_id means for the call.

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 and resource: 'Poll the exact persisted health or logs inspection' returned by two named siblings. It states precisely what the tool returns and how it differs from get_application_health / get_application_logs, so an agent can route without opening a 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?

Gives an explicit trigger condition ('when it remains pending'), names the alternatives that produce the handle, states an exclusion ('does not queue another inspection'), and instructs the caller to keep the same service, installation, UUID and kind until a terminal state. Nothing about when-to-use is left to inference.

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