Skip to main content
Glama
nihar777

apollo-cache-copilot

by nihar777

Inspect dangling refs

inspect_dangling_refs
Read-only

Detect dangling references, unreachable entities, and unnormalized objects in Apollo InMemoryCache data. Get a read-only audit to guide repair planning.

Instructions

Audit a serialized Apollo InMemoryCache (cache.extract() output) for dangling __refs, unreachable entities, and objects Apollo could not normalize. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cacheYes
rootIdsNo
includeUnreachableNo
includeNormalizationGapsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statsYes
findingsYes
Behavior4/5

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

Annotations already declare readOnlyHint:true, and the description reinforces this with 'Read-only.' Beyond that, it specifies the exact audit categories (dangling refs, unreachable entities, normalization gaps), adding meaningful context beyond the annotation. It does not discuss edge cases or error behavior, but given the annotation coverage, this is a strong but not perfect disclosure.

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 one sentence, concise, and front-loaded with the core action and target. It contains zero wasted words and efficiently conveys the tool's purpose and read-only nature. Excellent structure.

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?

Despite having an output schema, the tool has four parameters and no schema descriptions, making the description the primary source of guidance. The description is too sparse: it omits parameter semantics, default behavior, or any usage nuance. It also fails to differentiate from siblings. Overall, it is incomplete for a tool of this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, yet the description provides no explanation of any parameters (cache, rootIds, includeUnreachable, includeNormalizationGaps). The agent has no guidance beyond parameter names, which is insufficient for correct invocation. The description completely fails to compensate for the missing schema descriptions.

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 clearly states 'Audit a serialized Apollo InMemoryCache... for dangling __refs, unreachable entities, and objects Apollo could not normalize.' It uses a specific verb (audit), a well-defined resource (cache.extract() output), and distinct detectable issues that differentiate it from siblings like patch_cache (which modifies) and diagnose_cache_graph (which likely diagnoses broader graph issues). No ambiguity remains.

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

Usage Guidelines3/5

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

The description implies usage (audit a cache.extract() output) and sets clear input context, but it does not explicitly state when to use this tool over the sibling tools or provide exclusion criteria. With siblings present, the lack of explicit differentiation means the agent must infer usage context, which is a moderate gap.

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/nihar777/apollo-cache-copilot'

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