Skip to main content
Glama
yashv6655

Structured-Products-MCP-Server

by yashv6655

test_cache

Measure cache performance by timing repeated API calls across test cycles. Optionally clear cache first to compare cold-start and warm-cache response times.

Instructions

Test cache performance with timing comparisons across multiple API calls

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolNoStock symbol to use for cache testing (default: AAPL)AAPL
test_cyclesNoNumber test cycles to run (default: 3)
clear_cache_firstNoClear cache before testing to measure from cold start (default: false)
Behavior2/5

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

With no annotations, the description carries the full burden of disclosing side effects. It does not mention that the tool makes actual API calls, may clear the cache (via clear_cache_first), or that it could impact cache state. The behavioral details are vague, leaving the agent unaware of potential consequences.

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?

The description is a single concise sentence that communicates the core purpose without extraneous words. It is well-structured and front-loaded, but lacks any additional sections or examples that could enhance clarity for a tool with a few optional parameters.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema and no annotations, the description should explain what the tool returns, how timing comparisons are presented, and what side effects occur. The current description is minimal and leaves critical information missing, such as whether results are printed or returned as data, and whether the cache is warmed or cleared.

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 the baseline is 3. The description itself adds no parameter-specific information, but the schema already documents each parameter well (e.g., 'Clear cache before testing to measure from cold start'). The description does not degrade or improve the semantic clarity 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?

The description clearly specifies a verb ('Test') and a resource ('cache performance'), and adds context about timing comparisons across API calls. It distinguishes from sibling 'cache_status' by focusing on performance testing rather than status inspection, though it doesn't explicitly name the alternative.

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 is provided on when to use this tool versus alternatives like 'cache_status' or other analysis tools. There is no mention of prerequisites, intended scenarios, or situations to avoid. The usage is only implied through the generic description.

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/yashv6655/Structured-Products-MCP-Server'

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