Skip to main content
Glama

bowire.lint

Discover a server's API surface and run design-time lint rules that flag issues like exposed secrets or unbounded lists, returning severities and a summary.

Instructions

Discover a server URL and run Bowire's design-time linter over the API surface — the same rules bowire lint and the workbench Lint rail use. Flags design smells (secrets or PII in responses, unbounded list responses, missing versioning, string-typed timestamps, ...) each with a severity, honouring the workspace's .bowire/rules.json. Returns { findings: [{ ruleId, severity, service, method, field, message }], summary: { total, high, medium, low, info } }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesServer URL to discover + lint (must be on the allowlist unless arbitrary URLs are allowed).
protocolNoOptional protocol id (grpc, rest, graphql, signalr, mqtt, ws, sse, mcp, odata, socketio) to pin one plugin.
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

A3.7/5.0
Behavior3/5

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

With no annotations the description carries the full behavioral burden. It usefully discloses the rule-honoring behavior (.bowire/rules.json), the categories of findings, severities, and the exact return shape, but it never states that the operation is read-only/non-destructive or whether invocation has side effects on the workspace.

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?

Purpose is front-loaded in the first clause, and the subsequent clauses (rule source, finding categories, return shape) all earn their place. It is dense and slightly long but free of waste.

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?

No output schema exists, but the description compensates by spelling out the return shape ({ findings, summary }), and the parameter set is fully covered by the schema. The main omission is the safety/side-effect profile, which is minor for a lint operation.

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?

Schema description coverage is 100%, so all three parameters are already documented in the schema and the description adds no syntax or format detail beyond them. Baseline 3 applies when the schema does the heavy lifting.

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 (lint) and resource (API surface) and pins its identity by referencing the exact CLI command and workbench rail using the same rules. An agent can tell it apart from a generic discovery tool like bowire.discover because the linting behavior is named explicitly.

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 design-time framing and the mention of the .bowire/rules.json ruleset imply when this tool is appropriate, but there is no explicit when-to-use vs alternatives guidance and no contrast with siblings such as bowire.discover or bowire.contract.matrix. Usage is inferable rather than stated.

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