Skip to main content
Glama

Get service

get_service
Read-onlyIdempotent

Retrieve detailed status and follow-up readiness guidance for a VPSnet service order, including activation and provisioning progress, to decide when to poll again or when operator attention is needed.

Instructions

Get detailed info and follow_up readiness guidance for the original service order. Payment, VM provisioning, guest-agent availability and application health are separate. Pending activation, finalizing or active stateProcess means keep polling this same order; about 10 seconds is an interval, not an ETA. Check at most 6 times before a progress update, then retain the order for the next check. stateProcess.waitingReason=public_ip_inventory resumes automatically; never reorder, pay again or manually restart. stateProcess.attention=true requires operator attention. The legacy stateProccess alias carries the same process data. Unknown guest-agent status alone does not prove the VM is down. Resource-usage rows with available=false contain compatibility placeholders, not measurements. Requires services:read when called with an API key.

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>"
    },
    "name": "get_service"
  }
}

Input Schema

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

Output Schema

NameRequiredDescriptionDefault
follow_upYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.3.21
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / follow_up / properties / next_check / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "arguments": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "orderNo": {
      -            "$ref": "#/properties/follow_up/properties/order_no/anyOf/0"
      -          }
      -        },
      -        "required": [
      -          "orderNo"
      -        ],
      -        "type": "object"
      -      },
      -      "tool": {
      -        "const": "get_service",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "tool",
      -      "arguments"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "arguments": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "orderNo": {
      +            "pattern": "^[A-Za-z0-9-]{1,64}$",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "orderNo"
      +        ],
      +        "type": "object"
      +      },
      +      "tool": {
      +        "const": "get_service",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "tool",
      +      "arguments"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  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 readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is covered. Beyond that, the description adds real operational context: the legacy stateProccess alias carries the same data, an unknown guest-agent status does not prove the VM is down, resource-usage rows with available=false are compatibility placeholders, and an API key needs services:read. These are non-obvious interpretation rules that the schema and annotations cannot express.

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?

Purpose is front-loaded and almost every sentence carries a distinct operational rule, but the body is a dense run-on paragraph mixing state-machine semantics, polling cadence, legacy aliases, and auth requirements. Minor typo noise ('follow_up', the stateProccess alias itself) slightly slows parsing, though nothing is truly redundant.

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?

An output schema exists, so return structure need not be explained, yet the description still interprets the tricky fields (stateProcess, waitingReason, attention, legacy alias, placeholder rows) that an agent would otherwise misread. With one fully specified parameter and annotations covering safety, nothing material is missing for correct invocation.

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?

There is a single parameter with 100% schema description coverage, and the schema fully documents the orderNo pattern, length, and examples. The description only refers to it obliquely as 'this same order' and 'the original service order', adding no format or edge-case detail beyond the schema, so the baseline 3 applies.

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 first sentence gives a specific verb and resource (retrieve detailed info plus follow-up readiness for the original service order), and the following clauses carve out what this tool does NOT cover (payment, VM provisioning, guest-agent availability, application health are separate). Combined with the sibling list, an agent can tell this apart from get_service_history, get_dns_service_status, or list_service_applications.

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?

The description is explicit about when and how to use it: keep polling this same order, ~10s interval is not an ETA, at most 6 checks before a progress update, then retain the order. It also names when-not behavior: waitingReason=public_ip_inventory resumes automatically, and the agent must never reorder, pay again, or manually restart. That is actionable routing guidance rather than implied context.

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