Skip to main content
Glama
khushal1512

Spark Customer Agent MCP Server

by khushal1512

get_smartphones_by_price

Filter smartphones by maximum price to find devices within your budget. Specify a max price to get matching options.

Instructions

Filter smartphones by maximum price. This endpoint specifically filters smartphones only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxPriceYesMaximum price to filter smartphones (e.g., 30000)
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses the filtering behavior (by max price) and scope (smartphones only), which is transparent for a simple read-only operation. It lacks mention of return format or no-match behavior, but these are less critical for a straightforward filter tool.

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 concise sentences with zero waste. The first sentence states the function; the second adds the crucial qualification that it is smartphone-specific. Excellent structure.

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?

Given the tool's simplicity (one parameter, no output schema, no annotations), the description covers all essential aspects: what it does and its scope. It also differentiates from sibling tools. Omission of return format is acceptable for a basic filter 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 coverage is 100% and the schema already describes maxPrice well. The description only repeats the concept of maximum price without adding new semantic details. Thus the baseline 3 applies.

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 uses a specific verb 'Filter' with resource 'smartphones' and constraint 'maximum price'. The second sentence explicitly states it filters smartphones only, clearly distinguishing it from sibling tools like get_products_by_category. This is more than a tautology; it adds valuable scope.

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

Usage Guidelines4/5

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

The description clearly implies when to use this tool: when you need smartphones filtered by max price. The 'smartphones only' phrasing indicates it is not for other product categories, giving context. However, it does not explicitly name alternatives or exclusions, so it stops short of a 5.

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/khushal1512/spark-mcp'

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