Skip to main content
Glama

Kirk — Unsupervised Structural Change Detection

Render Order Book Tensor

kirk_render_book
Read-only

Render an L2 order-book snapshot into the 20×20 complex128 thermometer tensor WITHOUT invoking the sealed engine.

Purpose: Local tensor prep and inspection — see what shape the sealed engine will receive without paying for a scoring call.

Use when: You want to sanity-check bid/ask level convention against the model's canonical input convention, inspect the non-zero cell pattern for a snapshot, or debug an unexpected entropy value by first confirming the tensor is well-formed.

Do not use when: You need an entropy score — this tool is prep-only. Call kirk_score_book to score.

Capability class(es): Local prep for the C2 (variable-universe cross-section entropy) workflow. No sealed-engine interaction; no capability class is exercised beyond the input-shape convention.

Path fit: Validation via MCP (this tool). The same tensor shape is what production in-process integrations consume under sealed-engine attestation.

Cost: 0 IU. Free tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ask_pxYes10 ask prices, level 1 first.
bid_pxYes10 bid prices, level 1 first.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds valuable context: it is prep-only, has zero cost (0 IU), and does not interact with the sealed engine or exercise any capability class beyond input-shape convention.

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 longer than strictly necessary, but it is well-structured with clear sections (Purpose, Use when, Do not use when, Capability class, Path fit, Cost). The front-loaded first sentence carries the core meaning, and each subsequent section provides non-redundant useful context.

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

Completeness5/5

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

Given the tool's moderate complexity (2 params, output schema, annotations), the description goes beyond minimum requirements by explaining the tool's role in the broader workflow (validation via MCP vs. production attestation), cost implications, and exact exclusions (no scoring). It is complete and self-sufficient.

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%, with clear descriptions for bid_px and ask_px. The description does not add parameter-level syntax but provides semantic context on how the arrays relate to the tensor convention (e.g., level 1 first, bid/ask levels), which is marginal added value over the schema.

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 states a specific verb ('Render') and resource ('L2 order-book snapshot into the 20×20 complex128 thermometer tensor') and explicitly notes that it does NOT invoke the sealed engine. This clearly distinguishes it from sibling scoring tools like kirk_score_book.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit 'Use when' scenarios (sanity-checking bid/ask level convention, inspecting cell patterns, debugging entropy values) and a 'Do not use when' clause naming kirk_score_book as the alternative for scoring. This is exemplary guidance.

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.

TDQS

A4.7/5.0
Disambiguation5/5

Every tool has a clearly distinct purpose: billing (checkout/show/usage), scoring (single/batch/legacy/synthetic/random), utility (health/models/bulk_howto/render/research). Descriptions are detailed enough to prevent confusion.

Naming Consistency5/5

All tools follow a consistent 'kirk_<domain>_<verb>' pattern (e.g., kirk_billing_checkout, kirk_score_book). No mixing of conventions or unpredictable names.

Tool Count5/5

12 tools is well within the optimal range. Each tool serves a specific need without redundancy, covering scoring, billing, health, models, and research.

Completeness5/5

The tool surface covers the full workflow: scoring (single/batch/legacy/synthetic/research), billing (checkout/balance/usage), health checking, model listing, tensor prep, and bulk client generation. No obvious gaps for the intended domain.