Skip to main content
Glama

bowire.discover

Discovers services and methods exposed by a server URL, optionally filtered by protocol, and reports each protocol attempt outcome so empty results are explained.

Instructions

Run discovery against a server URL and return the discovered services and methods. Optional protocol filters to one plugin (grpc, rest, graphql, signalr, mqtt, ws, sse, mcp, odata, socketio); without it every registered protocol that handles the URL gets a turn. The attempts array reports what each plugin did — outcome is ok / empty / partial / error / timeout — so an empty services list always comes with an explanation instead of leaving you to guess. partial means that plugin returned services AND hit a fault while producing them, so its contribution is incomplete; the optional details array breaks the message down step by step.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesServer URL to discover (must be on the allowlist unless arbitrary URLs are allowed).
protocolNoOptional protocol id (grpc, rest, graphql, signalr, mqtt, ws, sse, mcp, odata, socketio).
grpcDescriptorSetNoOptional path to a compiled gRPC descriptor set (protoc --descriptor_set_out=api.protoset --include_imports), for a gRPC server that does not answer Server Reflection. Ignored by every other protocol.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With zero annotations the description carries the full burden, and it does an unusually good job: it documents the attempts array outcome taxonomy (ok/empty/partial/error/timeout), guarantees that an empty services list comes with an explanation, and disambiguates 'partial' as services returned plus a fault. It omits auth requirements, timeouts, and whether discovery has side effects, which keeps it short of a 5.

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?

Front-loaded with verb and resource, then the parameter behavior, then the return/failure semantics. Three dense sentences with little waste, though the attempts/detail explanation is longer than strictly needed given the payoff is high.

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?

There is no output schema, so the description must explain returns — and it covers services, methods, the attempts array, its outcome values, and the optional details array. For a discovery tool with an empty-result case, an agent has everything needed to interpret the response.

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 baseline is 3, but the description adds genuine semantics the schema lacks: what happens when protocol is omitted (all registered protocols run) and that grpcDescriptorSet is ignored by non-gRPC plugins. It does restate the protocol enum rather than explain it.

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 ("Run discovery against a server URL and return the discovered services and methods"), which lets an agent separate it from siblings like bowire.invoke, bowire.network.get, or bowire.mock.list without opening schemas. The scope (one URL in, services+methods out) is unambiguous.

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 explains the protocol filter's behavior ("without it every registered protocol that handles the URL gets a turn"), which is real usage context for a parameter choice. However, it never says when to reach for discover versus bowire.invoke or bowire.network.get, and gives no prerequisites beyond the allowlist note that lives in the schema. Usage is implied rather than stated.

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