Skip to main content
Glama
klever-io
by klever-io

enhance_with_context

Read-onlyIdempotent

Augments a user's query with relevant Klever VM code examples and documentation to provide informed answers for Klever development questions.

Instructions

Augment a natural-language query with relevant Klever VM knowledge base context. Extracts Klever-specific keywords, finds matching entries, and returns the original query combined with relevant code examples and documentation in markdown. Use this to enrich a user prompt before answering Klever development questions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesThe user's natural-language question or prompt to enhance (e.g. "How do I handle KLV payments in my contract?").
autoIncludeNoWhen true (default), automatically appends the most relevant knowledge base entries to the response. Set to false to only return metadata without injecting context.
Behavior4/5

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

Annotations already indicate read-only, idempotent behavior. The description adds value by detailing the process: keyword extraction, matching, returning combined markdown. No contradictions.

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 two sentences, front-loaded with the action, and every sentence provides essential information. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description explains the return format (markdown with code examples). It covers the main behavior and parameters sufficiently for a simple enhancement tool, though lacks details on potential errors or edge cases.

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% with clear descriptions for both parameters. The description does not add additional semantics beyond what the schema provides, so baseline 3 is appropriate.

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?

The description clearly states it augments a natural-language query with KB context, extracting keywords and returning combined result with code examples. It distinguishes from siblings like get_context or query_context by focusing on enhancing a raw query for development questions, though could be more explicit.

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 second sentence explicitly directs use to enrich user prompts before answering Klever development questions, providing a clear use case. It does not mention when not to use or alternatives, but the context is sufficient.

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/klever-io/mcp-klever-vm'

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