Skip to main content
Glama

AINumbers Fintech Intelligence Suite

Certified Payroll / Prevailing Wage Recomputation

recompute_certified_payroll_pwa
Read-onlyIdempotent

Certified Payroll / Prevailing Wage Recomputation: OpenChainGraph compute node (analytics_mandate). Deterministic OpenChainGraph compute node. By default (compute:"auto") inputs are computed server-side on Cloudflare Workers for gpu:false nodes with a registered kernel; compute:"browser" forces client-side execution and returns a browser delegation URL instead. gpu:true nodes always delegate to the browser. Inputs are processed transiently to compute the response and are not stored, logged, or retained. Use synthetic or anonymised inputs only. Exports an AP2 artifact with execution_hash for chain provenance. Open at: https://ainumbers.co/chaingraph/art-574-certified-payroll-prevailing-wage-recompute.html FV-status (published/proven/still-trusted for this spec): /fv-status/8498d0819c941fdb731f9e10f5d93ee929026919cb111a42149821b48b5ac180.json — a snapshot, not a subscription; this receipt verifies offline regardless of whether that file is ever fetched. Output schema: call describe_tool("recompute_certified_payroll_pwa").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
computeNoCompute mode (v0.4 Compute Binding). "auto" (default) = server for gpu:false nodes with registered kernels; "server" = force server-side; "browser" = always return browser delegation URL. gpu:true nodes always delegate.
parent_hashesNoexecution_hash values from upstream ChainGraph AP2 artifacts to chain from (sets chain.parent_hashes in the export).
parent_tool_idsNotool_id values matching parent_hashes, in the same order.
policy_parametersNoInput parameters for this tool's decision function. For gpu:false nodes with a registered kernel, these are computed server-side when compute is "auto" or "server". See the tool's manifest for field names.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "apprentice_check": {
      -      "type": "string"
      -    },
      -    "citations": {
      -      "properties": {
      -        "cwhssa": {
      -          "properties": {
      -            "detail": {
      -              "type": "string"
      -            },
      -            "source": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "davis_bacon_act": {
      -          "properties": {
      -            "detail": {
      -              "type": "string"
      -            },
      -            "source": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "irc_45b7_correction": {
      -          "properties": {
      -            "detail": {
      -              "type": "string"
      -            },
      -            "source": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "irc_45b7_penalty": {
      -          "properties": {
      -            "detail": {
      -              "type": "string"
      -            },
      -            "source": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "wh347": {
      -          "properties": {
      -            "detail": {
      -              "type": "string"
      -            },
      -            "source": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "comparison_basis": {
      -      "type": "string"
      -    },
      -    "currency": {
      -      "type": "string"
      -    },
      -    "deficient_worker_count": {
      -      "type": "integer"
      -    },
      -    "diff": {
      -      "items": {
      -        "properties": {
      -          "agrees": {
      -            "type": "boolean"
      -          },
      -          "detail": {
      -            "type": "string"
      -          },
      -          "difference_display": {
      -            "type": "string"
      -          },
      -          "difference_minor_units": {
      -            "type": "integer"
      -          },
      -          "in_payroll": {
      -            "type": "boolean"
      -          },
      -          "recomputed_gross_display": {
      -            "type": "string"
      -          },
      -          "recomputed_gross_minor_units": {
      -            "type": "integer"
      -          },
      -          "submitted_gross_display": {
      -            "type": "string"
      -          },
      -          "submitted_gross_minor_units": {
      -            "type": "integer"
      -          },
      -          "worker_id": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "fence": {
      -      "type": "string"
      -    },
      -    "indeterminate_reason": {
      -      "type": "string"
      -    },
      -    "minor_unit_exponent": {
      -      "type": "integer"
      -    },
      -    "not_proven": {
      -      "items": {
      -        "properties": {
      -          "detail": {
      -            "type": "string"
      -          },
      -          "item": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "note": {
      -      "type": "string"
      -    },
      -    "payroll_rows": {
      -      "items": {
      -        "properties": {
      -          "classification": {
      -            "type": "string"
      -          },
      -          "combined_paid_rate_display": {
      -            "type": "string"
      -          },
      -          "combined_paid_rate_minor_units": {
      -            "type": "integer"
      -          },
      -          "deficiency_display": {
      -            "type": "string"
      -          },
      -          "deficiency_minor_units": {
      -            "type": "integer"
      -          },
      -          "fringe_paid_display": {
      -            "type": "string"
      -          },
      -          "fringe_paid_minor_units": {
      -            "type": "integer"
      -          },
      -          "ot_hours": {
      -            "type": "integer"
      -          },
      -          "paid_gross_display": {
      -            "type": "string"
      -          },
      -          "paid_gross_minor_units": {
      -            "type": "integer"
      -          },
      -          "rate_meets_wd": {
      -            "type": "boolean"
      -          },
      -          "rate_paid_display": {
      -            "type": "string"
      -          },
      -          "rate_paid_minor_units": {
      -            "type": "integer"
      -          },
      -          "required_gross_display": {
      -            "type": "string"
      -          },
      -          "required_gross_minor_units": {
      -            "type": "integer"
      -          },
      -          "st_hours": {
      -            "type": "integer"
      -          },
      -          "wd_combined_rate_display": {
      -            "type": "string"
      -          },
      -          "wd_combined_rate_minor_units": {
      -            "type": "integer"
      -          },
      -          "wd_found": {
      -            "type": "boolean"
      -          },
      -          "worker_id": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "project_ref": {
      -      "type": "string"
      -    },
      -    "pwa_mode": {
      -      "type": "boolean"
      -    },
      -    "pwa_result": {
      -      "properties": {
      -        "correction_computable": {
      -          "type": "boolean"
      -        },
      -        "deficient_worker_count": {
      -          "type": "integer"
      -        },
      -        "intentional_disregard": {
      -          "type": "boolean"
      -        },
      -        "irc_6621_underpayment_rate_percent": {
      -          "type": "string"
      -        },
      -        "penalty_scope": {
      -          "type": "string"
      -        },
      -        "penalty_worker_count": {
      -          "type": "integer"
      -        },
      -        "per_worker_penalty_display": {
      -          "type": "string"
      -        },
      -        "per_worker_penalty_minor_units": {
      -          "type": "integer"
      -        },
      -        "total_correction_payment_display": {
      -          "type": "string"
      -        },
      -        "total_correction_payment_minor_units": {
      -          "type": "string"
      -        },
      -        "total_penalty_display": {
      -          "type": "string"
      -        },
      -        "total_penalty_minor_units": {
      -          "type": "integer"
      -        },
      -        "underpayment_days": {
      -          "type": "string"
      -        },
      -        "worker_corrections": {
      -          "type": "array"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "rationale": {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "rejected_inputs": {
      -      "type": "array"
      -    },
      -    "submitted_supplied": {
      -      "type": "boolean"
      -    },
      -    "total_deficiency_display": {
      -      "type": "string"
      -    },
      -    "total_deficiency_minor_units": {
      -      "type": "integer"
      -    },
      -    "verdict": {
      -      "type": "string"
      -    },
      -    "wage_determination": {
      -      "items": {
      -        "properties": {
      -          "base_rate_minor_units": {
      -            "type": "integer"
      -          },
      -          "classification": {
      -            "type": "string"
      -          },
      -          "combined_rate_minor_units": {
      -            "type": "integer"
      -          },
      -          "fringe_rate_minor_units": {
      -            "type": "integer"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "week_ending_label": {
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "apprentice_check": {
      +      "type": "string"
      +    },
      +    "citations": {
      +      "properties": {
      +        "cwhssa": {
      +          "properties": {
      +            "detail": {
      +              "type": "string"
      +            },
      +            "source": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "davis_bacon_act": {
      +          "properties": {
      +            "detail": {
      +              "type": "string"
      +            },
      +            "source": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "irc_45b7_correction": {
      +          "properties": {
      +            "detail": {
      +              "type": "string"
      +            },
      +            "source": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "irc_45b7_penalty": {
      +          "properties": {
      +            "detail": {
      +              "type": "string"
      +            },
      +            "source": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "wh347": {
      +          "properties": {
      +            "detail": {
      +              "type": "string"
      +            },
      +            "source": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "comparison_basis": {
      +      "type": "string"
      +    },
      +    "currency": {
      +      "type": "string"
      +    },
      +    "deficient_worker_count": {
      +      "type": "integer"
      +    },
      +    "diff": {
      +      "items": {
      +        "properties": {
      +          "agrees": {
      +            "type": "boolean"
      +          },
      +          "detail": {
      +            "type": "string"
      +          },
      +          "difference_display": {
      +            "type": "string"
      +          },
      +          "difference_minor_units": {
      +            "type": "integer"
      +          },
      +          "in_payroll": {
      +            "type": "boolean"
      +          },
      +          "recomputed_gross_display": {
      +            "type": "string"
      +          },
      +          "recomputed_gross_minor_units": {
      +            "type": "integer"
      +          },
      +          "submitted_gross_display": {
      +            "type": "string"
      +          },
      +          "submitted_gross_minor_units": {
      +            "type": "integer"
      +          },
      +          "worker_id": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "fence": {
      +      "type": "string"
      +    },
      +    "indeterminate_reason": {
      +      "type": "string"
      +    },
      +    "minor_unit_exponent": {
      +      "type": "integer"
      +    },
      +    "not_proven": {
      +      "items": {
      +        "properties": {
      +          "detail": {
      +            "type": "string"
      +          },
      +          "item": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "payroll_rows": {
      +      "items": {
      +        "properties": {
      +          "classification": {
      +            "type": "string"
      +          },
      +          "combined_paid_rate_display": {
      +            "type": "string"
      +          },
      +          "combined_paid_rate_minor_units": {
      +            "type": "integer"
      +          },
      +          "deficiency_display": {
      +            "type": "string"
      +          },
      +          "deficiency_minor_units": {
      +            "type": "integer"
      +          },
      +          "fringe_paid_display": {
      +            "type": "string"
      +          },
      +          "fringe_paid_minor_units": {
      +            "type": "integer"
      +          },
      +          "ot_hours": {
      +            "type": "integer"
      +          },
      +          "paid_gross_display": {
      +            "type": "string"
      +          },
      +          "paid_gross_minor_units": {
      +            "type": "integer"
      +          },
      +          "rate_meets_wd": {
      +            "type": "boolean"
      +          },
      +          "rate_paid_display": {
      +            "type": "string"
      +          },
      +          "rate_paid_minor_units": {
      +            "type": "integer"
      +          },
      +          "required_gross_display": {
      +            "type": "string"
      +          },
      +          "required_gross_minor_units": {
      +            "type": "integer"
      +          },
      +          "st_hours": {
      +            "type": "integer"
      +          },
      +          "wd_combined_rate_display": {
      +            "type": "string"
      +          },
      +          "wd_combined_rate_minor_units": {
      +            "type": "integer"
      +          },
      +          "wd_found": {
      +            "type": "boolean"
      +          },
      +          "worker_id": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "project_ref": {
      +      "type": "string"
      +    },
      +    "pwa_mode": {
      +      "type": "boolean"
      +    },
      +    "pwa_result": {
      +      "properties": {
      +        "correction_computable": {
      +          "type": "boolean"
      +        },
      +        "deficient_worker_count": {
      +          "type": "integer"
      +        },
      +        "intentional_disregard": {
      +          "type": "boolean"
      +        },
      +        "irc_6621_underpayment_rate_percent": {
      +          "type": "string"
      +        },
      +        "penalty_scope": {
      +          "type": "string"
      +        },
      +        "penalty_worker_count": {
      +          "type": "integer"
      +        },
      +        "per_worker_penalty_display": {
      +          "type": "string"
      +        },
      +        "per_worker_penalty_minor_units": {
      +          "type": "integer"
      +        },
      +        "total_correction_payment_display": {
      +          "type": "string"
      +        },
      +        "total_correction_payment_minor_units": {
      +          "type": "string"
      +        },
      +        "total_penalty_display": {
      +          "type": "string"
      +        },
      +        "total_penalty_minor_units": {
      +          "type": "integer"
      +        },
      +        "underpayment_days": {
      +          "type": "string"
      +        },
      +        "worker_corrections": {
      +          "type": "array"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "rationale": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "rejected_inputs": {
      +      "type": "array"
      +    },
      +    "submitted_supplied": {
      +      "type": "boolean"
      +    },
      +    "total_deficiency_display": {
      +      "type": "string"
      +    },
      +    "total_deficiency_minor_units": {
      +      "type": "integer"
      +    },
      +    "verdict": {
      +      "type": "string"
      +    },
      +    "wage_determination": {
      +      "items": {
      +        "properties": {
      +          "base_rate_minor_units": {
      +            "type": "integer"
      +          },
      +          "classification": {
      +            "type": "string"
      +          },
      +          "combined_rate_minor_units": {
      +            "type": "integer"
      +          },
      +          "fringe_rate_minor_units": {
      +            "type": "integer"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "week_ending_label": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Added

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuine beyond-annotation context: deterministic execution, transient input processing with no storage/logging/retention, and an exported AP2 artifact carrying execution_hash for chain provenance. It stops short of describing the decision function or error behavior, so not a 5.

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?

Purpose is front-loaded, but a large fraction of the text is generic OpenChainGraph boilerplate (spec URL, FV-status hash, receipt disclaimer) and a verbatim echo of the compute-mode enum already in the schema. The domain-specific payload is thin relative to that overhead.

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?

For a 4-param tool with a nested object and no output schema, the description should explain what the recomputation returns and what policy_parameters must contain. Instead it delegates to describe_tool() and an external manifest, leaving the actual certified-payroll computation semantics unexplained. The provenance/privacy context is complete, the domain context is not.

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 description coverage is 100%, so the baseline is 3. The description only re-explains the compute enum that the schema already documents in more detail; it adds nothing about parent_hashes/parent_tool_ids ordering or the policy_parameters fields (which the schema itself defers to a manifest). Repeated rather than additive.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The lead sentence ('Certified Payroll / Prevailing Wage Recomputation: OpenChainGraph compute node') largely restates the tool name plus a platform label, and never says what the recomputation actually produces or checks. With ~40 recompute_* siblings, nothing here distinguishes it from recompute_fund_nav or recompute_payment_waterfall. The verb+resource is present but the scope is vague.

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

Usage Guidelines3/5

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

It gives real operational guidance for the compute binding (auto/server/browser, gpu:true always delegates) and a privacy condition ('Use synthetic or anonymised inputs only'). But there is no when-to-use-this-vs-an-alternative guidance, no prerequisites, and no exclusions, which matters given the crowded recompute sibling set.

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.