Skip to main content
Glama
whodb-cli

whodb-cli

Official
by clidey

whodb_platform_ontology_behaviors_validate

Read-onlyIdempotent

Compile and test a version 1 behavior manifest without activating it, so changes roll back safely before you review and atomically apply revisions.

Instructions

Compile and test an entire version 1 behavior manifest without activation; temporary changes roll back. Use ontology action apply_behaviors to atomically activate reviewed revisions. Accepts workspace {host, org, project} for per-call targeting without changing defaults.

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": {
      "manifest": "<manifest>"
    },
    "name": "whodb_platform_ontology_behaviors_validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoOptional top-level output field projection
manifestYesVersion 1 manifest with behaviors entries containing api_name, document and optional expected_revision; validation never activates
workspaceNoOptional target for this call only. Omit to use the session default set by whodb_platform_session_use, then process/saved defaults. Discover targets with whodb_platform_hosts, whodb_platform_orgs and whodb_platform_projects.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.139.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered by structured data. The description adds genuine value with 'temporary changes roll back' and the whole-manifest scope, but it says nothing about what validation produces, such as whether errors are collected or fail-fast.

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?

Three sentences, front-loaded with the core action and its non-effect. Each sentence carries distinct information: what it does, the alternative for activation, and per-call targeting. No filler.

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?

A validation tool with no output schema, honest annotations and a fully described schema needs only a little more. The description covers scope, non-effect and the activation alternative, but does not tell the agent what a validation result looks like or how failures surface, which matters slightly because there is no output schema to compensate.

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 the schema already documents the manifest, the optional fields projection and the workspace targeting object. The description's workspace sentence repeats what the schema's workspace description already says and adds no format or constraint detail beyond it, leaving this at the baseline.

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?

States a specific verb pair ('compile and test') and resource ('entire version 1 behavior manifest') with an explicit non-effect ('without activation'). This is clearly distinguishable from the sibling activation path that it names by action id.

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?

Explicitly routes the agent: this tool validates only, and 'ontology action apply_behaviors' is named as the tool to use for atomic activation of reviewed revisions. Both the use case and the alternative are stated, leaving nothing to infer.

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