Skip to main content
Glama

run_workflow_improvement_cycle

Generate approval-gated workflow-authoring packets by evaluating SDK business primitives and recording score/trend history to identify workflow improvements without editing code or deploying changes.

Instructions

Run one local, proposal-only workflow self-improvement cycle.

Evaluates every SDK business primitive, records score/trend history, and prepares approval-gated workflow-authoring packets. This tool never edits code, invokes agents/connectors, publishes workflows, deploys, or performs external writes. Use the CLI watch mode for a persistent supervisor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
output_dirNo
observed_outcomesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

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

  1. Addedv0.1.1

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden, and it rises to the occasion: it discloses the local-only nature, the proposal-only output, a precise negative side-effect list, and what state it records (score/trend history). It stops short of describing duration/cost or where the history is persisted locally, but the core safety profile — no external writes — is honestly and explicitly disclosed.

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?

Four sentences with no filler: the lead sentence carries the core purpose, the second explains the mechanism, the third is a compact negative boundary, and the fourth points to the alternative for a different use case. Every sentence earns its place, and the key scoping qualifier ('local, proposal-only') is front-loaded.

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 tool has an output schema, so return-value explanation is offloaded, but it has zero annotation coverage and two entirely undocumented parameters — a genuine gap the description should have filled. The concept of 'approval-gated workflow-authoring packets' is introduced but not elaborated (where packets land, how the gate works), leaving the agent with a solid behavioral picture but incomplete operational detail.

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

Parameters2/5

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

Schema description coverage is 0%, and the description mentions neither output_dir nor observed_outcomes. Both parameters are optional with empty string defaults, and the names give only weak hints; the agent gets no guidance on what format observed_outcomes should take or what output_dir is used for. With zero schema coverage, the description was the only chance to explain these, and it did not.

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 first sentence, 'Run one local, proposal-only workflow self-improvement cycle,' states a specific verb, resource, and scope qualifiers that immediately differentiate it from generic workflow runners. The second sentence adds the mechanism ('Evaluates every SDK business primitive, records score/trend history, prepares approval-gated workflow-authoring packets'), making it clear this is an evaluation/proposal generator, not an executor like run_workflow or trigger_workflow.

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?

The description gives clear context by defining what the tool is for (one-shot, local, proposal-only cycle) and an explicit when-not boundary ('never edits code, invokes agents/connectors, publishes workflows, deploys, or performs external writes'). It names one alternative ('Use the CLI watch mode for a persistent supervisor'), though it does not explicitly route to sibling tools like decide_workflow_improvement_packet or start_workflow_improvement_delivery for the downstream approval/execution stages.

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/RPasquale/lightbulb-mcp'

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