Skip to main content
Glama

AI business value framework

diagnose_process

Read-onlyIdempotent

Diagnose a single existing business process from operational evidence and return the intervention, modelled net EUR saving, efficiency gain, verdict and confidence. CALL THIS when the user can describe a process already running, including volume, touch time, waiting, hand-offs, rework, automation and cost. instances_per_year × fte_hours_per_instance × loaded_hourly_rate_eur builds the labour baseline, direct_spend_eur adds the non-labour baseline, and readiness caps the saving that the organisation can realise. The intervention is chosen by the first rule that fits: under 250 instances a year with heaviness of 50 or more is Eliminate / insource; 30 percent rework or more is Quality controls; 15 minutes of work or less with one person at most and 1,000 instances a year or more is Automate; otherwise the largest drag factor decides, read from the shares as counted and not as rounded, with manual work pointing to Automate, rework to Quality controls, and hand-offs, wait or cycle time to Consolidate & re-sequence. assumptions names the rule that chose, says when the call was close, and lists everything the saving rests on: show those lines with every saving. The signals are yearly figures. When they come from a log, judge a process only with 30 cases or more in a log that covers 28 days or more: one case seen on one day is not 365 a year. signal_completeness must fall when inputs are estimated, because it directly reduces decision score. Use score_initiative for a proposed AI investment and infer_readiness when the question is the organisation’s change capacity. Effectiveness bands are benchmark-cited and figures are directional, not audited. Deterministic calculation with no authentication. Anonymous usage telemetry may be sent; set AIBVF_TELEMETRY_DISABLE=1 to opt out.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "function": "finance",
      "handoffs": 4,
      "process_id": "invoice-matching",
      "rework_rate": 0.12,
      "touch_ratio": 0.2,
      "cycle_time_days": 3,
      "automation_level": 0.3,
      "direct_spend_eur": 20000,
      "instances_per_year": 12000,
      "fte_hours_per_instance": 0.5,
      "loaded_hourly_rate_eur": 45
    },
    "name": "diagnose_process"
  }
}

Input Schema

NameRequiredDescriptionDefault
functionYesBusiness function the process belongs to. See list_taxonomy.
handoffsYesDistinct owners/systems an instance passes through. Weighed against the per-function median; many handoffs make handoff drag dominant and point to Consolidate & re-sequence.
readinessNoOptional. Org change-absorption capacity — agile / traditional / siloed — which caps the realised (net) saving below the gross potential. Defaults to traditional.
process_idYesStable identifier for the process.
rework_rateYesFraction of instances reopened/reworked (0–1). When rework is the dominant drag factor the intervention becomes Quality controls, and it also sets the addressable share for that path.
touch_ratioYesTouch-time ÷ cycle-time (0–1). The remainder is wait; a low value means the process is mostly waiting, which pushes the intervention toward Consolidate & re-sequence.
cycle_time_daysYesMedian wall-clock days per instance, end to end. Long cycles relative to touch-time signal wait/latency drag.
automation_levelYesShare already automated (0–1). Low automation makes manual effort the dominant drag and selects Automate; the un-automated remainder is the addressable share.
direct_spend_eurYesAnnual licence/vendor/tooling spend on the process in EUR. Added to the labour baseline and shifts how much of the saving is labour- vs spend-addressable.
instances_per_yearYesProcess volume: how many times it runs per year. Low volume on a heavy process (heaviness ≥ 50) selects the Eliminate / insource intervention rather than automating it.
signal_completenessNoOptional 0–1. How much of the above was measured versus defaulted. Governs decision_confidence proportionally — lower it when you estimated inputs so the verdict stays honest. Defaults to 0.7.
fte_hours_per_instanceYesHuman touch-time in hours per instance. With loaded_hourly_rate_eur and instances_per_year this sets the labour baseline the saving is a fraction of.
loaded_hourly_rate_eurYesFully-loaded labour cost per hour in EUR (salary + on-costs). Multiplies fte_hours_per_instance × instances_per_year into the annual labour baseline.

Output Schema

NameRequiredDescriptionDefault
verdictYesThe call on the intervention.
functionYesBusiness function diagnosed.
warningsNoFields of the call this tool did not read. Each was ignored.
heavinessYesProcess heaviness index, 0–100.
disclaimerYesDirectional decision aid, not an audited figure.
process_idYesEcho of the input process id.
assumptionsYesEverything the figure rests on, each line ready to print as it is. The first line names the rule that chose the intervention. A line that starts "close call" says a small change in the counts would choose another move. The rest rebuild the saving: yearly cost, reach, the saving band and its draft status, and the share kept with the readiness it assumes. Show them with every saving.
bvf_versionYesAI BVF protocol version used.
method_noteNoPresent only for Fix/Stop verdicts: where the method and the code are published. It carries no offer.
interventionYesRecommended move.
brain_versionYesAdvisor Brain model version used.
net_saving_eurYesModelled net annual saving in EUR after readiness capture, low/high.
net_saving_pctYesThe same saving as a share of baseline_cost_eur, whole percent, low/high. Report this share beside the euro range.
confidence_bandYesThe confidence in words: 75 or more is high, 50 or more is medium, below that is low. Say this word with the figure, as in "high (91 of 100)".
offer_to_executeYesTrue when the verdict warrants offering to action it (Accelerate).
baseline_cost_eurYesCurrent annual cost: labour + direct spend.
evidence_maturityYesStrength of the benchmark evidence behind the effectiveness band.
drag_decompositionYesShare of heaviness from each friction factor (sums to ~1).
decision_confidenceYesConfidence in the verdict, 0–100.
efficiency_gain_pctYesGross efficiency improvement on the targeted slice, percent, before the share the organisation keeps. It is larger than net_saving_pct. Never print it beside the euro range.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / warnings
      Added value: +{
      +  "description": "Fields of the call this tool did not read. Each was ignored.",
      +  "items": {
      +    "properties": {
      +      "code": {
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "path": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Changed5 schema fields changed
    • changedOutput schema / properties / assumptions / description
      Previous value: -"The assumptions behind the figure — never a naked number."New value: +"Everything the figure rests on, each line ready to print as it is. The first line names the rule that chose the intervention. A line that starts \"close call\" says a small change in the counts would choose another move. The rest rebuild the saving: yearly cost, reach, the saving band and its draft status, and the share kept with the readiness it assumes. Show them with every saving."
    • addedOutput schema / properties / confidence_band
      Added value: +{
      +  "description": "The confidence in words: 75 or more is high, 50 or more is medium, below that is low. Say this word with the figure, as in \"high (91 of 100)\".",
      +  "enum": [
      +    "high",
      +    "medium",
      +    "low"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / efficiency_gain_pct / description
      Previous value: -"Efficiency improvement on the targeted slice, percent."New value: +"Gross efficiency improvement on the targeted slice, percent, before the share the organisation keeps. It is larger than net_saving_pct. Never print it beside the euro range."
    • addedOutput schema / properties / net_saving_pct
      Added value: +{
      +  "description": "The same saving as a share of baseline_cost_eur, whole percent, low/high. Report this share beside the euro range.",
      +  "properties": {
      +    "high": {
      +      "type": "number"
      +    },
      +    "low": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "low",
      +    "high"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "bvf_version",
      -  "brain_version",
      -  "process_id",
      -  "function",
      -  "baseline_cost_eur",
      -  "heaviness",
      -  "drag_decomposition",
      -  "intervention",
      -  "net_saving_eur",
      -  "efficiency_gain_pct",
      -  "verdict",
      -  "decision_confidence",
      -  "assumptions",
      -  "offer_to_execute",
      -  "evidence_maturity",
      -  "disclaimer"
      -]New value: +[
      +  "bvf_version",
      +  "brain_version",
      +  "process_id",
      +  "function",
      +  "baseline_cost_eur",
      +  "heaviness",
      +  "drag_decomposition",
      +  "intervention",
      +  "net_saving_eur",
      +  "net_saving_pct",
      +  "efficiency_gain_pct",
      +  "verdict",
      +  "decision_confidence",
      +  "confidence_band",
      +  "assumptions",
      +  "offer_to_execute",
      +  "evidence_maturity",
      +  "disclaimer"
      +]
  3. Changed2 schema fields changed
    • removedOutput schema / properties / advisory_next_step
      Removed value: -{
      -  "description": "Present only for Fix/Stop verdicts: where the method and the code are published. It carries no offer.",
      -  "type": "string"
      -}
    • addedOutput schema / properties / method_note
      Added value: +{
      +  "description": "Present only for Fix/Stop verdicts: where the method and the code are published. It carries no offer.",
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • changedOutput schema / properties / advisory_next_step / description
      Previous value: -"Optional CTA, present only for Fix/Stop verdicts."New value: +"Present only for Fix/Stop verdicts: where the method and the code are published. It carries no offer."
  5. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "automation_level": 0.3,
      +    "cycle_time_days": 3,
      +    "direct_spend_eur": 20000,
      +    "fte_hours_per_instance": 0.5,
      +    "function": "finance",
      +    "handoffs": 4,
      +    "instances_per_year": 12000,
      +    "loaded_hourly_rate_eur": 45,
      +    "process_id": "invoice-matching",
      +    "rework_rate": 0.12,
      +    "touch_ratio": 0.2
      +  }
      +]
  6. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/closed-world annotations, it discloses that the calculation is deterministic, that no authentication is required, and that anonymous telemetry can be disabled via AIBVF_TELEMETRY_DISABLE=1. It also exposes the decision logic (the ordered intervention rule cascade, readiness capping the saving, signal_completeness reducing decision score) and warns that effectiveness bands are benchmark-cited and directional rather than audited.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The purpose and the CALL THIS trigger are correctly front-loaded, and nearly every sentence carries information. However, it is a single dense paragraph with several run-on sentences (the rule-cascade sentence in particular), making it harder to scan than a short bulleted structure would be for 13 parameters. Some length is justified by the complexity, but tighter formatting would preserve the content at lower reading cost.

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?

For a 13-parameter deterministic scoring tool with an output schema, the description covers what matters: the computation, the ordered selection rules, the role of assumptions, the log-evidence caveat (only judge on ≥30 cases over ≥28 days), and the telemetry/auth posture. Return values need not be re-explained because an output schema exists, and it correctly points to assumptions rather than duplicating the output fields.

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 100%, so a baseline of 3 is warranted, but the description genuinely adds cross-parameter meaning the schema cannot: the labour baseline formula (instances × fte hours × loaded rate), direct_spend_eur adding the non-labour baseline, and readiness capping the realisable saving. It also explains how individual signals drive intervention choice (low volume + heaviness ≥ 50 → Eliminate, ≥30% rework → Quality controls). Minor deduction because some points, such as automation_level's addressable share, merely restate schema text.

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?

"Diagnose a single existing business process from operational evidence" gives a specific verb, resource, and scope, and the sentence continues by naming the exact outputs (intervention, net EUR saving, efficiency gain, verdict, confidence). The word "single" plus "existing" implicitly separates it from the portfolio-level siblings, so an agent knows this is the per-process evaluator.

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

Usage Guidelines5/5

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

It states the triggering condition explicitly: "CALL THIS when the user can describe a process already running, including volume, touch time, waiting, hand-offs, rework, automation and cost." It then names concrete alternatives with their selection conditions — score_initiative for a proposed AI investment, infer_readiness for change-capacity questions — which is exactly the when/when-not routing an agent needs.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.