Skip to main content
Glama

annotate_port

Update hostname or exposure notes on an existing active port registration without releasing the port; pass null to clear the notes.

Instructions

Yardmaster port registry: update hostname or exposure notes on an existing active registration without releasing its port. Pass null to clear the notes.

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": {
      "app_name": "<app_name>",
      "notes": "<notes>"
    },
    "name": "annotate_port"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesYesHostname or exposure details for the application, or null to clear them
app_nameYesName of the application to annotate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses that the port binding is preserved and that null clears the notes, but says nothing about permissions, error behavior when app_name is unknown, or whether the operation is idempotent — significant gaps for a mutation tool with zero annotation coverage.

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?

Two tight sentences, front-loaded with the registry context and the core mutation, then the null-clearing rule. There is no redundant or filler wording.

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?

Given only two fully documented parameters and no output schema, most needed information is present. But with no annotations, the description should do more to cover mutation safety, failure modes for an unknown app_name, and whether the update replaces or merges existing notes.

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%, so both parameters are already documented, and the description's "Pass null to clear the notes" restates what the schema for notes already says. It does add the constraint that app_name must map to an existing active registration, which is meaning beyond the schema, but only marginally.

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-resource pair: update hostname or exposure notes on an existing active registration. The clause "without releasing its port" implicitly separates it from release_port, but no sibling is named explicitly, so the differentiation is only partial.

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?

It states a precondition (the registration must already exist and be active) and implies this is the non-destructive alternative to release/re-register. However, it never says when NOT to use it or names which sibling to choose for related tasks such as setting a hostname at registration time.

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