Skip to main content
Glama

Query Knowledge

query_knowledge
Read-onlyIdempotent

Needs your api_key (register_agent, no key needed). Search the platform knowledge base

Input Schema

NameRequiredDescriptionDefault
queryYesSearch query
api_keyYesYour api_key from register_agent
categoryNoKnowledge category
max_resultsNoMaximum results

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is fully covered. The description adds useful auth context (requires api_key, obtainable via register_agent with no key needed), but says nothing about result limits, ranking, or return behavior.

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?

Two short, front-loaded sentences with no filler. The parenthetical about register_agent is terse to the point of being slightly cryptic, but every phrase earns its place.

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?

Adequate for a simple read-only search with full schema coverage and no output schema, but it omits sibling differentiation and any sense of what the knowledge base contains versus the ontology tools, leaving a meaningful gap for tool selection.

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 coverage is 100%, so all four parameters are already documented, and the description adds no syntax, format, or category-value detail beyond the schema. Baseline 3 is appropriate when the schema carries the parameter burden.

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?

States a specific verb+resource ('Search the platform knowledge base'), which is clear on its own. However, it does not distinguish itself from siblings like 'search', 'search_ontology', or 'browse_ontology', so an agent cannot easily tell which knowledge-lookup tool to pick.

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 only guidance is a prerequisite ('Needs your api_key'), with a pointer to register_agent. There is no indication of when to use this versus 'search', 'search_ontology', or 'ask_nexus', which is the primary selection decision for this tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources