Skip to main content
Glama
JimmyAlter

guarded-sql-mcp

by JimmyAlter

Search devices

search_devices
Read-onlyIdempotent

Search devices by site, status, and operating system. Returns hostname, site, OS, status, IP, and last check-in time.

Instructions

Search devices by site, status and operating system. Returns hostname, site, OS, status, IP and last check-in time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteNoSite code as returned by list_sites, e.g. "north-branch".
limitNoMaximum rows to return (1-100, default 25).
statusNoDevice status.
os_containsNoSubstring of the operating system name, e.g. "Windows". Matched literally: % and _ have no special meaning.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered elsewhere. The description usefully discloses the return payload, but says nothing about pagination, default result size, or empty-result behavior.

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?

Two tightly written sentences with zero filler; purpose comes first, return shape second. Every clause carries information.

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?

With no output schema, describing the returned fields is genuinely valuable and it does so. The gaps, no mention of pagination/limit behavior or how to handle zero matches, are minor for a simple read-only search tool.

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 parameters (site, status, os_contains, limit) are already documented, including the literal-substring semantics of os_contains and the 1-100 range on limit. The description only restates the filter dimensions, adding no syntax or format detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (search) and resource (devices) plus the filter dimensions (site, status, OS) and the returned fields. It is clearly distinct from list_sites, get_device, device_software, and stale_devices, though it never explicitly names an alternative to route against.

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 versus siblings: stale_devices for stale inventory, get_device for a single device, or device_software for software detail. The filter list implies usage but no condition or exclusion is stated.

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