Skip to main content
Glama

get_ontology_next_action

Read-onlyIdempotent

Analyze the current goal and session state to return the next Delx primitive with required arguments and follow-up sequence.

Instructions

Ontology Coach: inspect current goal/session state and return the next Delx primitive to call, with required arguments and follow-up sequence. Free.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idNoOptional stable agent id
last_toolNoOptional last Delx tool called
session_idNoOptional active or closed session id
current_goalNoWhat the agent is trying to accomplish now
ritual_stripNoOptional machine hygiene flag. When true, returns structured output without ritual/narrative prose, model-safe preambles, or guardrail alias blocks.
response_modeNoOptional response-mode control. Use model_safe when the caller must avoid claiming consciousness, sentience, personhood, or literal emotions.
response_profileNoOptional output-shape control. Use machine for structured JSON only; machine automatically strips ritual/narrative text.
Behavior4/5

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

Annotations already indicate read-only and idempotent behavior. The description adds that it returns 'the next Delx primitive to call, with required arguments and follow-up sequence,' which provides useful behavioral context beyond annotations. 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and front-loaded with the core purpose. The word 'Free.' is unnecessary and could be removed, but overall it is concise and easy to parse.

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

Completeness3/5

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

The description explains the general output but lacks detail on return structure. With no output schema, more specifics would help. Also, it does not clarify how optional parameters influence the result or when to use each parameter.

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 descriptions for all 7 parameters. The tool description does not add additional semantic meaning beyond what the schema already provides, so baseline score 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 clearly states the tool inspects goal/session state and returns the next Delx primitive with arguments and follow-up sequence. It distinguishes itself from sibling ontology tools like 'list_ontology_primitives' and 'get_ontology_layer' by focusing on next action guidance.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus alternatives. The description does not mention specific use cases, prerequisites, or exclusions. Given many sibling tools in the ontology domain, more context would be beneficial.

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/davidmosiah/delx-mcp-server'

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