dingdawg-governance
v2.1.6Universal governance layer for AI agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
govern_action
Govern any AI agent action. Performs capability check + policy evaluation + generates a governance receipt. Returns a receipt proving the action was governed. When API key is set, uses cloud API with local fallback.
| Parameter | Type | Description |
|---|---|---|
action_description * | string | Human-readable description of what the agent is about to do |
action_type * | string | Type of action (e.g., 'send_email', 'make_purchase', 'modify_data', 'api_call') |
agent_id * | string | Identifier for the AI agent performing the action |
context | object | Additional context key-value pairs for policy evaluation |
risk_tier | string | Self-assessed risk level of this action |
target_resource | string | The resource being acted upon (e.g., 'user_database', 'email_server', 'payment_api') |
get_verified_badge
Returns the 'Powered by DingDawg Verified' badge payload for a governed action receipt. Creators can opt-in to emit this badge in agent output — every governed action receipt includes a verifiable badge URL, turning governed agents into DingDawg marketing channels. Pass the receipt_id returned by govern_action.
| Parameter | Type | Description |
|---|---|---|
receipt_id * | string | Receipt ID returned by a govern_action call (e.g. 'gov_abc123_def456') |
audit_trail
Get the governance audit trail. Returns governance receipts from local storage or cloud API. Free to use.
| Parameter | Type | Description |
|---|---|---|
agent_id | string | Agent ID to get all governed actions for |
limit | number | Maximum number of records to return (default 10) |
receipt_id | string | Receipt ID from a govern_action call |
time_range | string | Time range for audit trail lookup |
compliance_check
Quick compliance check against common AI governance frameworks. Free tier: 10 checks per day. Evaluates against EU AI Act, Colorado AI Act — Revised (SB26-189 / ADMT, eff. Jan 1 2027), NIST AI RMF, and ISO 42001.
| Parameter | Type | Description |
|---|---|---|
system_description * | string | Describe your AI system: what it does, data sources, decision scope |
deployment_stage | string | Current deployment stage |
framework | string | Framework to check against (default: all) |
meter_llm_call
Track the cost of an LLM API call and enforce budget limits. Call this after every LLM API response. Returns real-time cost, cumulative spend, and budget status. Free to use — no API key required.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | Unique identifier for the agent making the LLM call |
completion_tokens * | integer | Number of output/completion tokens generated |
model * | string | Model name (e.g. 'gpt-4o', 'claude-sonnet-4-6', 'gemini-2.0-flash') |
prompt_tokens * | integer | Number of input/prompt tokens used |
provider * | string | LLM provider |
task_id | string | Optional task identifier for grouping related calls |
set_llm_budget
Set a USD spend limit for an agent. The meter will return budget_status: 'warning' at the threshold and 'exceeded' when the limit is hit. Limits reset daily or monthly.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | Agent ID to set budget for |
limit_usd * | number | Maximum USD spend allowed in the period (e.g. 10.00 for $10/day) |
period * | string | Reset cadence |
warning_threshold | number | Fraction of limit that triggers 'warning' status (default: 0.8 = 80%) |
get_spend_report
Get LLM spend breakdown by agent, model, and provider. Filter by agent and date range. Returns total cost, call count, and per-model breakdown.
| Parameter | Type | Description |
|---|---|---|
agent_id | string | Filter by agent ID (omit for all agents) |
from_date | string | ISO 8601 start date (e.g. '2026-04-01T00:00:00Z') |
to_date | string | ISO 8601 end date (e.g. '2026-04-30T23:59:59Z') |