Skip to main content
Glama
OnStartups

Agent.ai MCP Server

by OnStartups

query_agent_kb

Use AI-powered semantic search to recall past context, notes, and insights from agent memories, with citations and optional metadata filtering.

Instructions

Search this agent's memories with AI-powered semantic search to recall past context, notes, and insights with citations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesWhat do you want to recall? Ask about past meetings, notes, or context (supports variable references).
agent_id_overrideNoOptionally look up memories from a different agent. Leave empty to use current agent.
include_citationsNoInclude citations showing which memories were used to generate the response.
metadata_filterNoFilter memories by metadata key-value pairs. JSON format, e.g., {"meeting_title": "Q4 Review", "event_id": "event_123"}. Only memories matching ALL specified metadata will be searched.
output_variable_nameYesVariable name to store the recalled memories, like 'recalled_memories' or 'past_context'.recalled_memories
Behavior3/5

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

No annotations are provided, so the description must carry all behavioral context. It mentions AI-powered semantic search and citations, but does not explain that results are stored in a variable (as per output_variable_name parameter), nor any limitations or cost considerations. Adequate but not thorough.

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, clear sentence that front-loads the purpose and core functionality. Every word contributes meaning, with no fluff or repetition.

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?

With 5 parameters, no output schema, and no annotations, the description is brief but covers the main purpose. However, it lacks details on how the output variable works (output_variable_name) and how metadata filtering is used. More context would improve completeness.

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%, meeting the baseline. The description adds general context (AI search, citations) but does not elaborate on any specific parameter beyond what the schema already provides. No added semantic value for parameters.

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 action (search/recall), the resource (agent's memories), and the method (AI-powered semantic search). It mentions output includes citations, which helps distinguish it from related tools like list_agent_memories or save_to_agent_kb.

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 the tool is used for recalling past context via semantic search, but it does not explicitly differentiate from siblings like list_agent_memories. No when-not or alternative usage is provided, leaving the decision partially to the agent's inference.

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/OnStartups/agentai-mcp-server'

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