Skip to main content
Glama
danielsimonjr

Enhanced Knowledge Graph Memory Server

analyze_query

Extract entities, temporal references, question type, and complexity from search queries to understand structure before searching.

Instructions

Analyze a search query to extract entities, temporal references, question type, and complexity. Useful for understanding query structure before searching.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesThe query to analyze
includePlanNoInclude execution plan in response (default: false)
Behavior2/5

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

With no annotations provided, the description carries full burden but only states the tool is 'useful for understanding query structure.' It doesn't disclose behavioral traits like whether this is a read-only operation, computational cost, rate limits, authentication needs, or what format the analysis returns. For a tool with no annotation coverage, this leaves significant gaps.

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 perfectly concise with two sentences that each earn their place. The first sentence states the core functionality, and the second provides usage context. No wasted words or redundant information.

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 moderate complexity (analyzing queries for multiple aspects), no annotations, and no output schema, the description is adequate but incomplete. It explains what the tool does but lacks details about the analysis format, limitations, or behavioral characteristics that would help an agent use it effectively.

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 schema already documents both parameters thoroughly. The description doesn't add any parameter-specific information beyond what's in the schema. The baseline of 3 is appropriate when the schema does all the parameter documentation work.

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 the tool's purpose with specific verbs ('analyze', 'extract') and resources ('search query'), listing concrete outputs (entities, temporal references, question type, complexity). It distinguishes from sibling tools by focusing on query analysis rather than search execution or data manipulation.

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 provides clear context for when to use this tool ('before searching'), which implicitly distinguishes it from actual search tools in the sibling list. However, it doesn't explicitly state when NOT to use it or name specific alternatives among the many search-related siblings.

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/danielsimonjr/memory-mcp'

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