Skip to main content
Glama
ashishsantikari

Enterprise Knowledge Mesh

query_legal

Search the legal knowledge base to find relevant documents. Use filters by market, device, or category for targeted results.

Instructions

Search the Legal Knowledge Base for relevant information. Use optional filters for more targeted results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesThe search query string
marketNoFilter by market. Examples: berlin, frankfurt, munich, hamburg
deviceNoFilter by device. Examples: solar-panel, battery-storage, inverter, car-charger
categoryNoFilter by category. Examples: contracts, warranty, liability, consumer-rights, data-protection
Behavior2/5

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

No annotations are provided, so the description bears full responsibility for behavioral disclosure. It only indicates a search (read) operation but lacks details on side effects, rate limits, authentication, or data source characteristics.

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?

The description is a single, clear sentence that front-loads the primary action. It is concise without waste, though more context could be added without harming conciseness.

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 no output schema and 4 parameters, the description adequately defines the tool's purpose but does not address return format, pagination, or result behavior. It is acceptable but has gaps.

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?

Input schema covers 100% of parameters with descriptions and examples. The description only says 'Use optional filters' which adds no new meaning beyond the schema. Baseline score of 3 is appropriate.

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 verb 'Search' and the resource 'Legal Knowledge Base', distinguishing it from sibling tools like query_compliance and query_hr by domain. It is specific and unambiguous.

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 mentions using optional filters for targeted results, implying usage when legal information is needed. However, it does not explicitly state when to use tools like query_compliance or query_hr instead, nor does it provide when-not-to-use guidance.

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/ashishsantikari/case-study-mcp-server'

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