Skip to main content
Glama
whodb-cli

whodb-cli

Official
by clidey

whodb_platform_ontology_behavior

Read-onlyIdempotent

Reads the current ontology behavior definition and revision before editing, with optional per-call workspace targeting by host, org, and project.

Instructions

Read the current behavior definition and revision before editing. 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": {
      "id": "<id>"
    },
    "name": "whodb_platform_ontology_behavior"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesResource id
fieldsNoTop-level output fields to include. Prefer only fields needed now; call again with more fields if needed.
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/5.0
Behavior4/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. The description still adds real value beyond them: it says the result includes the 'revision' (an optimistic-concurrency token the agent needs before editing) and that the workspace argument is scoped per call 'without changing defaults'.

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?

Two sentences, zero padding, with the action and its intended sequencing ('before editing') front-loaded ahead of the parameter note. Nothing is repeated and nothing could be cut without losing information.

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 read-only tool with rich annotations and a fully documented schema, the description covers purpose, sequencing, and the shape of the return (definition plus revision) without needing an output schema. The only residual gap is not clarifying what kind of resource `id` refers to.

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 `id`, `fields`, and the nested workspace object are already documented in detail. The description only restates the workspace targeting behavior that the schema's own description already explains, adding no format or constraint detail beyond it. Baseline 3 applies.

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 states a specific verb and resource: 'Read the current behavior definition and revision'. That is enough to distinguish it from write-side siblings like whodb_platform_update_ontology_record or whodb_platform_ontology_behaviors_validate, though it never says explicitly what the `id` identifies (a behavior resource vs. an ontology resource).

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?

'Read ... before editing' supplies a clear usage context, effectively telling the agent this is the pre-mutation inspection step. It gives no explicit exclusions or named alternatives (e.g., when to prefer whodb_platform_ontology_describe instead), so it stops short of full when/when-not guidance.

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