Skip to main content
Glama

TinyFn

port_info

Get information about a port number.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
portYesPort number

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
portYes
port_typeYes
descriptionYes
service_nameYes
is_well_knownYes
requires_rootYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries full responsibility for behavioral disclosure. It fails to mention that the tool is read-only, what kind of information it returns (e.g., protocol, service name), or any side effects. The minimal text provides no transparency.

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?

The description is one sentence with six words, no fluff. It is appropriately front-loaded with the action verb.

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

Completeness2/5

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

Although the tool has an output schema, the description does not hint at what information the tool provides. For a simple lookup tool, the description should at least mention it returns details like protocol or service name. Given the tool's simplicity, more context is expected.

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 parameter 'port' has 100% schema description coverage with 'Port number', but the tool description adds no additional meaning. Baseline score of 3 applies because the schema already documents the parameter adequately.

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 clearly states the tool's action: 'Get information about a port number'. It uses a specific verb and resource, distinguishing it from sibling tools like ip_info which deal with IP addresses.

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?

No guidance on when to use this tool vs alternatives. It does not mention typical use cases, what information is returned, or any prerequisites, leaving the agent with no context for selection.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.