Skip to main content
Glama

Create Decision Lineage Receipt

create_decision_lineage_receipt
Read-onlyIdempotent

Trace which data sources influenced a decision by generating a Decision Lineage Receipt. Provide a right-to-explanation record for compliance audits.

Instructions

Create a Decision Lineage Receipt that traces which data sources influenced a decision. Right-to-explanation primitive.

Input Schema

NameRequiredDescriptionDefault
explanationNo
decisionTypeYesE.g. loan_approval, content_moderation, risk_assessment
transformChainNo
governingPurposeNo
decisionArtifactIdYes
contributingSourcesYes
lineageCompletenessYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv4.0.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / contributingSources / items / additionalProperties
      Removed value: -false
  2. Addedv2.8.0

TDQS

C2.5/5.0
Behavior1/5

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

The description opens with 'Create a Decision Lineage Receipt', a write operation, while the annotations declare readOnlyHint=true and destructiveHint=false. This is the same class of inconsistency flagged in the calibration example for create_record. The description also fails to disclose what the receipt records, whether it is persisted, or what it returns.

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

Conciseness4/5

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

Two short sentences, front-loaded with the verb and resource, with no filler or repetition. The trailing 'Right-to-explanation primitive' fragment is terse and does add framing, though it is jargon that may not help an agent act.

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

Completeness2/5

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

Against a 7-parameter, 4-required tool with a deeply nested contributingSources structure (7 required subfields each), 14% schema coverage, and no output schema, the description is far too thin. It says nothing about how completeness is judged, what makes lineage 'broken_external', or what the created receipt identifier looks like.

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 only 14% across 7 parameters, so the schema alone leaves most inputs unexplained (decisionArtifactId, governingPurpose, transformChain, explanation are all bare). The description's mention of 'which data sources influenced a decision' loosely points at contributingSources but adds no meaning, format, or constraint for the nested source objects or the lineageCompleteness enum.

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

Purpose4/5

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

The description gives a specific verb+resource ('Create a Decision Lineage Receipt') and states what it captures ('traces which data sources influenced a decision'). That is enough to distinguish it from generic write tools. However, it offers no differentiation from close siblings such as create_derivation_receipt, create_artifact_provenance, or resolve_lineage, which an agent would need to choose between.

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

Usage Guidelines2/5

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

There is no 'use this when...' guidance, no prerequisites, and no mention of alternatives among the many sibling receipt/lineage tools. The phrase 'Right-to-explanation primitive' gestures at a regulatory context but does not tell the agent when to reach for this tool versus create_derivation_receipt or resolve_lineage.

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

Deploy Server

Other Tools