Skip to main content
Glama

create_allocation

Assigns a new network allocation (IP/port) to a server while staying within its configured allocation limit.

Instructions

Auto-assign a new network allocation (IP/port) to a server within its allocation limit.

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": "create_allocation"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_idYesShort server identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/5.0
Behavior3/5

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

Beyond readOnlyHint=false, the description adds real context: assignment is automatic (the caller does not pick an IP/port) and it is bounded by the server's allocation limit. It does not say what happens on hitting the limit (error vs. queue), whether the allocation is immediately usable, or whether it can be undone. Moderate value added over the single annotation.

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?

A single front-loaded sentence with the action, the resource, and the governing constraint; there is no filler or redundancy.

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 one-parameter mutation with no output schema and minimal annotations, the description covers what is created, that selection is automatic, and the limit that gates success. The main residual gap is failure behavior at the allocation limit, which is a minor omission for a tool this simple.

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% for the sole parameter (server_id), so the schema already carries the semantics. The description only reinforces that the allocation lands on a server; it adds no format, scope, or constraint detail for server_id.

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?

States a specific verb ('Auto-assign') plus the concrete resource ('new network allocation (IP/port)') and the target ('to a server'), which separates it from delete_allocation and update_allocation_notes. It does not explicitly name or contrast a sibling, so it stops short of 5.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the creation path for allocations versus the delete/set-primary/update-notes siblings. There is no explicit when-to-use statement, no exclusion (e.g. when to prefer manual assignment), and no stated prerequisite for obtaining a server_id.

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