Skip to main content
Glama

abstract_declare

Takes a handle from a DECLARE discovery and returns a natural-language summary of all discovered constraints.

Instructions

Natural-language description of a discovered DECLARE model.

Takes the handle returned by discover_declare. Wraps declare_to_descr.apply. pm4py's descriptor has no MAX_LEN knob, so truncated is always False and the full constraint set is described.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
declare_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations provided, so description carries full burden. It discloses that the tool wraps a specific function and clarifies that 'truncated' is always False due to pm4py limitations. However, it does not discuss error handling, permissions, or other side effects.

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 efficiently convey purpose, prerequisite, and a behavioral nuance. No redundant 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?

Given the tool's simplicity and the presence of an output schema, the description is adequate. It explains the input source and the behavior of a key field, leaving details of the return format to the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, but the description adds meaning to the sole parameter 'declare_id' by stating it is a handle from discover_declare, which is essential context beyond the raw 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 clearly states it provides a natural-language description of a discovered DECLARE model, using a handle from discover_declare. This differentiates it from sibling abstract_ tools for other model types.

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?

Explicitly mentions the prerequisite of calling discover_declare first. Provides context on the 'truncated' field behavior, but does not explicitly state when not to use it or list alternatives.

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/azizketata/pm4py-mcp'

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