Skip to main content
Glama
mcp-unifi-applications

mcp-unifi-applications

List Endpoints

list_endpoints
Read-onlyIdempotent

Browse the UniFi API endpoint catalogue with one line per endpoint, including method, path, slug, and title. Filter by app or HTTP method to narrow results.

Instructions

Browse the endpoint catalogue: one line per endpoint with method, path, slug and title.

Returns at most 200 lines; beyond that the reply says how many were withheld and which filters would narrow it. For finding a specific endpoint, search_endpoints ranks by relevance instead. Unknown filter values are rejected by name rather than returned as an empty result.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_endpoints"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNoOptional app filter (network, protect, site-manager, innerspace, mobility, carrier-fabric). Omit to list all.
methodNoOptional HTTP method filter (GET, POST, PUT, DELETE, PATCH).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.5.0
    • removedInput schema / properties / app / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / app / default
      Previous value: -nullNew value: +""
    • addedInput schema / properties / app / type
      Added value: +"string"
    • removedInput schema / properties / method / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / method / default
      Previous value: -nullNew value: +""
    • addedInput schema / properties / method / type
      Added value: +"string"
  2. First observed

TDQS

A4.7/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 genuinely new behavior: a hard 200-line cap, the truncation reply reporting how many were withheld plus which filters would narrow it, and rejection of unknown filter values by name instead of a silent empty result. These are exactly the failure modes an agent needs to anticipate.

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 paragraphs: the first defines the operation and output format, the second covers limits, the alternative sibling, and error behavior. No filler, and the most load-bearing facts lead.

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?

For a two-parameter, read-only, non-destructive list tool with a full output schema, everything needed is present: output format, result cap and truncation signaling, filter validation behavior, and the sibling to use instead. Return-value shape is described at the right level without duplicating the output schema.

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 100%, so the schema carries the parameter documentation and the baseline would be 3. The description adds meaning on top: it establishes that filters are narrowing operations and that invalid values are rejected by name rather than degrading to empty results — important because 'app' has no enum constraint in the schema, so value validity is only implied here.

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?

States a specific verb and resource ('Browse the endpoint catalogue') and immediately defines the return shape: one line per endpoint with method, path, slug and title. It also names the sibling it is not (search_endpoints), so an agent can distinguish listing from searching without opening either schema.

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

Usage Guidelines4/5

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

Explicitly routes the agent: use this to browse, use search_endpoints for relevance-ranked lookup of a specific endpoint. It also explains that filters narrow an over-large result, which is practical usage context. It stops short of stating any hard when-not condition (e.g. 'do not use if you already know the slug'), so it lands just below the top mark.

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