Skip to main content
Glama

workflow_reconcile

Reconcile finished workflow runs from disk into the OS by scanning project directories and ingesting full telemetry. Idempotent — repairs state after offline periods.

Instructions

Reconcile finished Workflow runs from disk into the OS (repair after OS was offline).

Scans ~/.claude/projects/<slug>/*/workflows/wf_*.json and ingests each run's full telemetry (tokens/duration/per-agent). Idempotent — safe to re-run.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idNoLimit the scan to a single CC session's workflows (empty = all sessions).
project_dirNoLimit the scan to the project owning this directory (empty = all projects).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries full burden. It details the scan path, ingests telemetry, and states idempotency and safety to re-run, offering good behavioral insight beyond basic purpose.

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?

The description is concise with two clear paragraphs: first states purpose and when to use, second details behavior and parameters. No extraneous information.

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

Completeness5/5

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

Given the existence of an output schema, return values are covered. The description covers scan scope, idempotency, and file path, making it complete for a reconciliation tool with two optional parameters.

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%, providing clear parameter descriptions. The description adds context about scanning file paths and ingesting telemetry but does not significantly enhance parameter understanding beyond the 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 the verb 'reconcile' and the resource 'finished Workflow runs' with context 'from disk into the OS'. It distinguishes itself from sibling tools like workflow_get and workflow_list by specifying a repair function after OS offline.

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 explicitly mentions 'repair after OS was offline', providing a clear when-to-use scenario. It does not explicitly mention when not to use or list alternatives, but the context is sufficient for typical use.

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/CronusL-1141/AI-company'

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