Skip to main content
Glama
CodeDreamer06

Unstop MCP Server

get_cache_info

Inspect cache freshness, TTL, and item counts for hackathon snapshots to verify data currency and optimize query performance.

Instructions

Inspect cache freshness, TTL, and item counts for the open hackathon snapshot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The service-level implementation of `get_cache_info`, which fetches cache metadata.
    def get_cache_info(self) -> CacheInfoResponse:
        return CacheInfoResponse(cache=self.cache.metadata(is_cached_result=True))
  • The tool handler registration and invocation of `get_cache_info` in the server.
    def get_cache_info() -> dict:
        try:
            return service.get_cache_info().model_dump(mode="json")
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It hints at read-only inspection ('inspect') but doesn't explicitly state if it's safe, non-destructive, or has any side effects. It also lacks details on rate limits, authentication needs, or what 'freshness' and 'TTL' entail in practice.

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?

The description is a single, well-structured sentence that efficiently conveys the core purpose without unnecessary details. It's front-loaded with the key action ('inspect') and resources, making it easy to parse quickly with zero wasted words.

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

Completeness3/5

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

Given the tool's complexity (simple inspection with 0 parameters) and lack of annotations/output schema, the description is minimally adequate. It covers what the tool does but misses behavioral context (e.g., safety, side effects) and usage guidance, leaving gaps that could hinder an agent's understanding in a broader workflow.

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?

The input schema has 0 parameters with 100% coverage, so no parameter documentation is needed. The description appropriately doesn't discuss parameters, earning a high baseline score. It could be a 5 if it explicitly noted the lack of parameters, but it's still effective as-is.

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 states the tool's purpose with specific verbs ('inspect') and resources ('cache freshness, TTL, and item counts'), making it easy to understand what it does. However, it doesn't explicitly distinguish itself from sibling tools like 'refresh_cache' or 'get_hackathon_details', which prevents a perfect score.

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?

The description provides no guidance on when to use this tool versus alternatives. It mentions 'open hackathon snapshot' but doesn't clarify if this is the only context or how it differs from siblings like 'refresh_cache' (which might update cache) or 'get_hackathon_details' (which might retrieve different data).

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/CodeDreamer06/UnstopMCP'

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