Skip to main content
Glama

mdns_get_service_info

Read-onlyIdempotent

Retrieve detailed information about a discovered mDNS service including hostname, IP addresses, port, and TXT records. Specify service type and name to get complete service details.

Instructions

Get detailed information about a specific mDNS service.

This tool retrieves complete information about a discovered service including:

  • Hostname and IP addresses

  • Port number

  • TXT records (metadata)

  • Service type and name

Args: params (ServiceInfoInput): Validated input parameters containing: - service_type (str): Service type (e.g., '_http._tcp.local.') - service_name (str): Full service name from browse results - timeout (Optional[float]): Query timeout in seconds (default: 10.0) - response_format (ResponseFormat): Output format preference

Returns: str: Detailed service information or error message

Example: >>> mdns_get_service_info(ServiceInfoInput(service_type="_http._tcp", service_name="My Server._http._tcp.local.")) "# Service: My Server._http._tcp.local.\n\nType: _http._tcp.local.\nServer: myserver.local\nPort: 8080\nAddresses: 192.168.1.100"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already indicate readOnlyHint, idempotentHint, destructiveHint=false. Description adds context that it retrieves 'complete information' with specific fields. No contradictions. Could mention network/timeout behavior but annotations cover safety.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Description is well-structured with purpose first, then details, then args, then example. Slightly verbose with full Args section and example, but every part adds value. Could be trimmed but still good.

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 simple read tool, description covers input parameters, return value (string with markdown example), and usage example. Annotations provide safety profile. Output schema not in input but described in text. Fairly complete given tool complexity.

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 provides full descriptions for all parameters (service_type, service_name, timeout, response_format). Description includes a clear 'Args' section that restates and slightly augments (e.g., default timeout 10.0). Adds value by summarizing parameter purpose beyond schema, even though schema coverage is high.

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?

Description clearly states 'Get detailed information about a specific mDNS service' and lists specific data items (hostname, IP, port, TXT records). Distinguishes from sibling tools like mdns_browse_services (listing) and mdns_register_service (write operation).

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?

Description implies use after browsing (service name from browse results) but does not explicitly state when to use vs alternatives or when not to. No exclusions or alternative tool mentions. Usage context is implied but not explicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/daedalus/mcp-mdns'

If you have feedback or need assistance with the MCP directory API, please join our Discord server