Skip to main content
Glama

GENESIS ProofRelay MCP Verifier

Map lender condition evidence

proofrelay.map_lender_condition_evidence
Read-onlyIdempotent

Map lender condition text, evidence, reviewer, and waiver hashes into a portable condition profile without satisfying lender conditions.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "condition": "<condition>"
    },
    "name": "proofrelay.map_lender_condition_evidence"
  }
}

Input Schema

NameRequiredDescriptionDefault
conditionYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / condition / additionalProperties
      Added value: +false
    • addedInput schema / properties / condition / properties / condition_hash / pattern
      Added value: +"^\\s*(?:sha256:)?[0-9a-fA-F]{64}\\s*$"
    • addedInput schema / properties / condition / properties / evidence_hashes / items / pattern
      Added value: +"^\\s*(?:sha256:)?[0-9a-fA-F]{64}\\s*$"
    • changedInput schema / properties / condition / properties / reviewer_hash / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "pattern": "^\\s*(?:sha256:)?[0-9a-fA-F]{64}\\s*$",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / condition / properties / waiver_hash / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "pattern": "^\\s*(?:sha256:)?[0-9a-fA-F]{64}\\s*$",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed6 schema fields changed
    • removedInput schema / $defs
      Removed value: -{
      -  "LenderConditionEvidenceInput": {
      -    "description": "Hash-only lender condition evidence input.",
      -    "properties": {
      -      "condition_hash": {
      -        "description": "SHA-256 condition text hash.",
      -        "title": "Condition Hash",
      -        "type": "string"
      -      },
      -      "condition_id": {
      -        "description": "Public lender condition id.",
      -        "title": "Condition Id",
      -        "type": "string"
      -      },
      -      "condition_type": {
      -        "description": "Public condition category.",
      -        "title": "Condition Type",
      -        "type": "string"
      -      },
      -      "evidence_hashes": {
      -        "description": "Evidence artifact hashes.",
      -        "items": {
      -          "type": "string"
      -        },
      -        "title": "Evidence Hashes",
      -        "type": "array"
      -      },
      -      "non_secret_refs": {
      -        "description": "Public-safe condition references.",
      -        "items": {
      -          "type": "string"
      -        },
      -        "title": "Non Secret Refs",
      -        "type": "array"
      -      },
      -      "reviewer_hash": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Optional reviewer hash.",
      -        "title": "Reviewer Hash"
      -      },
      -      "status": {
      -        "default": "pending",
      -        "description": "Declared public condition status.",
      -        "enum": [
      -          "pending",
      -          "satisfied",
      -          "rejected",
      -          "waived",
      -          "needs_review"
      -        ],
      -        "title": "Status",
      -        "type": "string"
      -      },
      -      "waiver_hash": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Optional waiver hash.",
      -        "title": "Waiver Hash"
      -      }
      -    },
      -    "required": [
      -      "condition_id",
      -      "condition_type",
      -      "condition_hash"
      -    ],
      -    "title": "LenderConditionEvidenceInput",
      -    "type": "object"
      -  }
      -}
    • removedInput schema / properties / condition / $ref
      Removed value: -"#/$defs/LenderConditionEvidenceInput"
    • addedInput schema / properties / condition / properties
      Added value: +{
      +  "condition_hash": {
      +    "type": "string"
      +  },
      +  "condition_id": {
      +    "type": "string"
      +  },
      +  "condition_type": {
      +    "type": "string"
      +  },
      +  "evidence_hashes": {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "non_secret_refs": {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "reviewer_hash": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "status": {
      +    "enum": [
      +      "pending",
      +      "satisfied",
      +      "rejected",
      +      "waived",
      +      "needs_review"
      +    ],
      +    "type": "string"
      +  },
      +  "waiver_hash": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  }
      +}
    • addedInput schema / properties / condition / required
      Added value: +[
      +  "condition_id",
      +  "condition_type",
      +  "condition_hash"
      +]
    • addedInput schema / properties / condition / type
      Added value: +"object"
    • removedInput schema / title
      Removed value: -"map_lender_condition_evidenceArguments"
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds real value with the explicit non-effect ("without satisfying lender conditions"), which prevents misuse. It stops short of disclosing validation behavior — e.g. whether null reviewer/waiver hashes are accepted, or whether hash format is enforced — which matters for a nested-object contract.

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?

One front-loaded sentence with no filler; the negative clause is placed where it matters. It is a dense noun stack, though — four comma-separated inputs crammed into one clause — which slightly reduces scannability for a nested-object tool.

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?

An output schema exists, so return values need not be described. But with a nested, fully undocumented input schema and no annotations about validation, the description leaves an agent guessing about required hash coverage and enum/status handling — gaps that a fuller definition would close.

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 0% and the single parameter is a nested object with nine properties, so the description must compensate. It does partially, by naming condition text, evidence, reviewer and waiver hashes, but leaves status enum semantics, condition_hash vs condition_id distinction, and non_secret_refs unexplained.

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?

States a specific verb ("Map") and a specific resource set (lender condition text, evidence, reviewer and waiver hashes) into a named artifact ("portable condition profile"). The negative clause "without satisfying lender conditions" is a useful boundary, but it never names or contrasts a sibling tool such as wrap_mcp_tool_evidence or map_openapi_operation_evidence, which share the same mapping pattern.

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?

The phrase "without satisfying lender conditions" implies this is for profiling/normalizing evidence rather than taking action, which is genuinely useful context. However, it does not state prerequisites (e.g. hashes must pre-exist), when to choose this over other evidence-mapping siblings, or what happens when a condition is already satisfied.

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.

Resources