Skip to main content
Glama
KRONVEX MCP

KRONVEX MCP

Official
by KRONVEX

kronvex_execute

Read-onlyIdempotent

Execute read-only multi-step JavaScript queries over catalog data via preloaded kv bindings in an isolated sandbox, returning the final value in one round-trip.

Instructions

Execute a read-only multi-step JS query in an isolated sandbox using preloaded kv bindings (kv.org, kv.apps, kv.models, kv.skills, kv.research, kv.top21, kv.services, kv.work) and return the final value in 1 round-trip.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "code": "<code>"
    },
    "name": "kronvex_execute"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesAsync JS body returning a JSON-serializable result, e.g. `return kv.models.map(m => m.name);`
timeoutMsNoExecution timeout 100-10000ms (default: 4000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new context beyond that: execution happens in an isolated sandbox, the `kv` namespace set is preloaded, and the code must return the final value. It still omits failure behavior, resource limits, and what happens when execution exceeds the timeout.

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?

It is a single, front-loaded sentence that leads with the verb and puts the binding inventory inline rather than in a separate paragraph. The parenthetical list of eight namespaces is long but each one carries real information about available data sources. No filler or redundant restatement of the tool name.

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?

For a two-parameter tool with full schema coverage, rich annotations, and no output schema, the description covers the essentials: what executes, where, over which data, and what is returned. The remaining gap is operational — timeout and error semantics are not described — but the agent has enough to invoke it correctly.

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 both `code` and `timeoutMs` are already documented with defaults and bounds, establishing the baseline of 3. The description adds only a marginal clarification that the code body is a multi-step query whose final value is returned, which reinforces the `code` contract but adds nothing about the timeout parameter.

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 names a specific verb (Execute) and a precise resource (a read-only multi-step JS query in an isolated sandbox), and it enumerates the exact `kv` bindings available. That is enough for an agent to know what the tool does. It stops short of a 5 because it never explicitly contrasts itself with the sibling `kronvex_search`, leaving the boundary to be inferred.

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?

Usage is only implied: the phrase 'multi-step JS query' plus 'in 1 round-trip' suggests this is for custom or compound retrieval that a simple search cannot express. There is no explicit statement of when to prefer this over `kronvex_search`, no prerequisites, and no mention of when it is inappropriate or likely to time out.

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

Deploy Server

Other Tools