Skip to main content
Glama
sooth
by sooth

Lookup By Application

lookup_by_application

Find all ports registered to a specific application by searching its name. Resolve port conflicts and keep your port registry accurate.

Instructions

Find all ports registered to a specific application.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_nameYesThe application name to search for (case-insensitive).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the behavioral disclosure burden. 'Find all ports' clearly signals a non-mutating read and a multi-match result set, which is useful. It does not address empty-result behavior, errors, or permissions, but these are less critical for a simple lookup.

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 with no redundant phrases; 'all ports' and 'specific application' are both informative. It is appropriately sized and front-loaded.

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, read-only tool with a fully documented input schema and an output schema, the description is largely sufficient. The main omissions are explicit alternative routing and edge-case behavior, which are minor given the tool's simplicity.

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?

The sole parameter app_name is already fully described in the input schema, including case-insensitivity. The description adds little semantic value beyond identifying the target concept, so the high schema-coverage baseline of 3 is appropriate.

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 description uses a concrete verb ('Find') with a specific resource ('all ports registered to a specific application'), so an agent immediately knows this is a query by application name. It also differs from the sibling lookup_by_port, which queries by port number.

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?

The intended use is inferable: call this when you have an app_name and need its registered ports. However, the description does not explicitly state when not to use it or name alternatives such as lookup_by_port, so the agent is left to infer routing from sibling names.

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