Skip to main content
Glama

Search Device

search_device
Read-onlyIdempotent

Find Swappa device product slugs by free-text name (e.g. "iphone 15", "galaxy s24", "macbook air"). Returns matching products with their slug (needed by device_prices / recent_sales) and current starting price. Use this first when you don't already know the exact slug.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results to return (1-25, default 10).
queryYesDevice name or partial name, e.g. "iPhone 15 Pro" or "Pixel 8".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, so the safety profile is fully covered. The description adds that results include current starting price and that the slug is required downstream, which is useful but does not elaborate on return structure, matching behavior, or error cases. Given strong annotations, a 3 is appropriate.

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 sentences with zero wasted words. The purpose and examples are front-loaded, and the usage guidance is placed at the end. Every sentence earns its place.

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 two-parameter search tool with full schema coverage and strong annotations, the description is nearly complete. It could mention what happens when no results are found or how fuzzy matching behaves, but the core usage context is fully covered.

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 description coverage is 100%, so the schema already documents both parameters. The description adds value by clarifying that the query is free-text and that the slug output is the key artifact needed by downstream tools, but it doesn't need to add more because the schema covers parameter semantics.

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 states a specific verb ('Find'), a resource ('Swappa device product slugs'), and the input type (free-text name). It includes concrete examples and explicitly distinguishes its output from sibling tools by noting the slug is needed by device_prices / recent_sales.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly instructs to use this tool first when the exact slug is unknown, which orients the agent among siblings like device_prices and recent_sales. It also implicitly defines the alternative (use the slug directly) without needing to name them.

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.