Skip to main content
Glama

list_allocations

Read-only

Retrieve IP and port network allocations assigned to a server by providing its server ID, so you can review which addresses and ports the server can use.

Instructions

List IP and port network allocations assigned to a server.

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": {
      "server_id": "<server_id>"
    },
    "name": "list_allocations"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_idYesShort server identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.3/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read, so the description need not re-establish that. It adds useful scope (allocations belong to a single server) and clarifies the returned domain (IPs and ports), but says nothing about ordering, pagination, or whether an empty result means no allocations versus an invalid server.

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?

One short sentence, front-loaded with the verb and resource, with zero filler. Nothing could be removed without losing scope information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read tool with no output schema and annotations covering safety, this is close to sufficient. It still leaves the agent guessing about result shape and pagination, which matters for a listing tool that could return many allocations.

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?

With a single parameter and 100% schema description coverage, the schema already documents server_id as a 'Short server identifier'. The phrase 'assigned to a server' reinforces what the ID scopes the listing to, but adds no format or lookup detail beyond the schema; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb ('List') and a precise resource ('IP and port network allocations'), plus a scoping qualifier ('assigned to a server'). The verb alone separates it from create_allocation and delete_allocation, though no sibling is named explicitly.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no prerequisite statement, and no pointer to an alternative such as get_account or the create/delete allocation tools. Usage is only implied by the word 'List' and the server scope.

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