FACTRAIL

Evidence infrastructure for agents: source-backed company verification and beta import assessment.

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
93%
Integridad del esquema
94%
Calidad de los nombres
89%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Hallazgos (1)

  • LOWTool 'factrail_verify' description lacks action verben factrail_verify

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~5,731Tokens (definiciones de herramientas)
~9.2 KBTamaño de respuesta típico
Impacto significativo en la atención (4.48% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "factrail": {
      "url": "https://written-electron-favourites-exhibition.trycloudflare.com/mcp"
    }
  }
}

Puntos de conexión remotos

https://written-electron-favourites-exhibition.trycloudflare.com/mcpstreamable-http
https://mcp.factrail.online/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (7)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢factrail_capabilities(operation, capability)

Use when you need to discover what FACTRAIL can verify or assess before calling another tool. Returns available capabilities, inputs, fields, sources, versions, and limitations; call first to inspect current coverage and source state.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "operation": {
      "type": "string",
      "enum": [
        "verify",
        "assess"
      ]
    },
    "capability": {
      "type": "string",
      "enum": [
        "company_fr",
        "import"
      ]
    }
  },
  "additionalProperties": false
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "capabilities": {
      "type": "array",
      "items": {
        "type": "object"
      }
    }
  },
  "required": [
    "capabilities"
  ]
}
🟢factrail_assess(assessment_type, parameters)

Use when you need a source-backed assessment of importing a product into the EU (tariff classification, duties, and related evidence). Returns an EvidenceEnvelope; import assessment is Beta and results expose source coverage and support levels.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "assessment_type": {
      "type": "string",
      "enum": [
        "import"
      ],
      "description": "Currently only import is supported."
    },
    "parameters": {
      "description": "Required + optional inputs for assess_import.",
      "properties": {
        "product": {
          "examples": [
            "750ml insulated stainless steel drinking bottle"
          ],
          "maxLength": 500,
          "minLength": 3,
          "title": "Product",
          "type": "string"
        },
        "origin_country": {
          "examples": [
            "CN"
          ],
          "maxLength": 2,
          "minLength": 2,
          "title": "Origin Country",
          "type": "string"
        },
        "destination_country": {
          "examples": [
            "FR"
          ],
          "maxLength": 2,
          "minLength": 2,
          "title": "Destination Country",
          "type": "string"
        },
        "quantity": {
          "examples": [
            5000
          ],
          "maximum": 1000000000,
          "minimum": 1,
          "title": "Quantity",
          "type": "integer"
        },
        "goods_value": {
          "examples": [
            13500
          ],
          "maximum": 1000000000000,
          "minimum": 0.01,
          "title": "Goods Value",
          "type": "number"
        },
        "currency": {
          "examples": [
            "EUR"
          ],
          "maxLength": 3,
          "minLength": 3,
          "title": "Currency",
          "type": "string"
        },
        "assessment_date": {
          "anyOf": [
            {
              "format": "date",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional TARIC effective/simulation date; availability depends on the installed snapshot.",
          "title": "Assessment Date"
        },
        "known_hs_code": {
          "anyOf": [
            {
              "maxLength": 10,
              "minLength": 6,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "examples": [
            "960100"
          ],
          "title": "Known Hs Code"
        },
        "material": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Material"
        },
        "weight_kg": {
          "anyOf": [
            {
              "maximum": 1000000000,
              "minimum": 0.0001,
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Weight Kg"
        },
        "dimensions": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Dimensions"
        },
        "manufacturer": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Manufacturer"
        },
        "model": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Model"
        },
        "incoterm": {
          "anyOf": [
            {
              "maxLength": 10,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Incoterm"
        },
        "shipping_mode": {
          "anyOf": [
            {
              "maxLength": 50,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Shipping Mode"
        },
        "origin_location": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Origin Location"
        },
        "destination_location": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Destination Location"
        },
        "freight_cost": {
          "anyOf": [
            {
              "minimum": 0,
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Freight Cost"
        },
        "insurance_cost": {
          "anyOf": [
            {
              "minimum": 0,
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Insurance Cost"
        }
      },
      "required": [
        "product",
        "origin_country",
        "destination_country",
        "quantity",
        "goods_value",
        "currency"
      ],
      "title": "AssessImportInput",
      "type": "object",
      "additionalProperties": false
    }
  },
  "required": [
    "assessment_type",
    "parameters"
  ],
  "additionalProperties": false
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "schema_version": {
      "default": "1.2",
      "title": "Schema Version",
      "type": "string"
    },
    "status": {
      "$ref": "#/$defs/VerificationStatus"
    },
    "subject": {
      "$ref": "#/$defs/Subject"
    },
    "facts": {
      "items": {
        "$ref": "#/$defs/Fact"
      },
      "title": "Facts",
      "type": "array"
    },
    "evidence": {
      "items": {
        "$ref": "#/$defs/EvidenceSource"
      },
      "title": "Evidence",
      "type": "array"
    },
    "conflicts": {
      "items": {
        "$ref": "#/$defs/Conflict"
      },
      "title": "Conflicts",
      "type": "array"
    },
    "coverage": {
      "$ref": "#/$defs/Coverage"
    },
    "freshness": {
      "$ref": "#/$defs/Freshness"
    },
    "receipt_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Receipt Id"
    },
    "state_fingerprint": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "State Fingerprint"
    },
    "generated_at": {
      "format": "date-time",
      "title": "Generated At",
      "type": "string"
    }
  },
  "required": [
    "status",
    "subject",
    "facts",
    "evidence",
    "conflicts",
    "coverage",
    "freshness",
    "generated_at"
  ],
  "$defs": {
    "Conflict": {
      "properties": {
        "field": {
          "title": "Field",
          "type": "string"
        },
        "sides": {
          "items": {
            "$ref": "#/$defs/ConflictSide"
          },
          "minItems": 2,
          "title": "Sides",
          "type": "array"
        },
        "resolution_status": {
          "title": "Resolution Status",
          "type": "string"
        },
        "resolution_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Resolution Reason"
        }
      },
      "required": [
        "field",
        "sides",
        "resolution_status"
      ],
      "title": "Conflict",
      "type": "object"
    },
    "ConflictSide": {
      "properties": {
        "value": {
          "title": "Value"
        },
        "evidence_ids": {
          "items": {
            "type": "string"
          },
          "minItems": 1,
          "title": "Evidence Ids",
          "type": "array"
        }
      },
      "required": [
        "value",
        "evidence_ids"
      ],
      "title": "ConflictSide",
      "type": "object"
    },
    "Coverage": {
      "properties": {
        "level": {
          "$ref": "#/$defs/CoverageLevel"
        },
        "fields_requested": {
          "items": {
            "type": "string"
          },
          "title": "Fields Requested",
          "type": "array"
        },
        "fields_resolved": {
          "items": {
            "type": "string"
          },
          "title": "Fields Resolved",
          "type": "array"
        },
        "fields_unresolved": {
          "items": {
            "type": "string"
          },
          "title": "Fields Unresolved",
          "type": "array"
        },
        "metadata": {
          "additionalProperties": true,
          "title": "Metadata",
          "type": "object"
        }
      },
      "required": [
        "level",
        "fields_requested",
        "fields_resolved",
        "fields_unresolved"
      ],
      "title": "Coverage",
      "type": "object"
    },
    "CoverageLevel": {
      "enum": [
        "sufficient",
        "partial",
        "insufficient"
      ],
      "title": "CoverageLevel",
      "type": "string"
    },
    "EvidenceSource": {
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "source_type": {
          "title": "Source Type",
          "type": "string"
        },
        "authority_class": {
          "title": "Authority Class",
          "type": "string"
        },
        "publisher": {
          "title": "Publisher",
          "type": "string"
        },
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Url"
        },
        "retrieved_at": {
          "format": "date-time",
          "title": "Retrieved At",
          "type": "string"
        },
        "effective_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Effective At"
        },
        "content_hash": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Content Hash"
        },
        "source_status": {
          "title": "Source Status",
          "type": "string"
        },
        "metadata": {
          "additionalProperties": true,
          "title": "Metadata",
          "type": "object"
        }
      },
      "required": [
        "id",
        "source_type",
        "authority_class",
        "publisher",
        "retrieved_at",
        "source_status"
      ],
      "title": "EvidenceSource",
      "type": "object"
    },
    "Fact": {
      "properties": {
        "field": {
          "title": "Field",
          "type": "string"
        },
        "value": {
          "title": "Value"
        },
        "normalized_value": {
          "default": null,
          "title": "Normalized Value"
        },
        "effective_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Effective At"
        },
        "evidence_ids": {
          "items": {
            "type": "string"
          },
          "minItems": 1,
          "title": "Evidence Ids",
          "type": "array"
        },
        "jurisdiction": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Jurisdiction"
        },
        "metadata": {
          "additionalProperties": true,
          "title": "Metadata",
          "type": "object"
        },
        "provenance_type": {
          "default": "sourced",
          "title": "Provenance Type",
          "type": "string"
        },
        "support_level": {
          "$ref": "#/$defs/SupportLevel",
          "default": "supported"
        }
      },
      "required": [
        "field",
        "value",
        "evidence_ids"
      ],
      "title": "Fact",
      "type": "object"
    },
    "Freshness": {
      "properties": {
        "generated_at": {
          "format": "date-time",
          "title": "Generated At",
          "type": "string"
        },
        "oldest_supporting_retrieved_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Oldest Supporting Retrieved At"
        },
        "newest_supporting_retrieved_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Newest Supporting Retrieved At"
        },
        "stale": {
          "title": "Stale",
          "type": "boolean"
        },
        "recheck_after": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Recheck After"
        }
      },
      "required": [
        "generated_at",
        "stale"
      ],
      "title": "Freshness",
      "type": "object"
    },
    "Subject": {
      "properties": {
        "type": {
          "title": "Type",
          "type": "string"
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Name"
        },
        "identifiers": {
          "additionalProperties": {
            "type": "string"
          },
          "title": "Identifiers",
          "type": "object"
        }
      },
      "required": [
        "type"
      ],
      "title": "Subject",
      "type": "object"
    },
    "SupportLevel": {
      "description": "How strongly a fact is supported, independent of numeric confidence.",
      "enum": [
        "authoritative",
        "supported",
        "derived_supported",
        "derived_provisional",
        "curated",
        "caller_input"
      ],
      "title": "SupportLevel",
      "type": "string"
    },
    "VerificationStatus": {
      "enum": [
        "supported",
        "contradicted",
        "insufficient_evidence",
        "stale",
        "conflicting_sources"
      ],
      "title": "VerificationStatus",
      "type": "string"
    }
  },
  "title": "EvidenceEnvelope"
}
🟢factrail_verify(subject_type, identifier, fields)

Use when you need verified, source-backed facts about a French company from its SIREN or SIRET. Returns Evidence with provenance, freshness, coverage, conflicts, and a reusable receipt.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "subject_type": {
      "type": "string",
      "enum": [
        "company_fr"
      ],
      "description": "Currently only French companies are supported."
    },
    "identifier": {
      "type": "string",
      "pattern": "^([0-9]{9}|[0-9]{14})$",
      "description": "A 9-digit SIREN or 14-digit SIRET."
    },
    "fields": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "string",
        "enum": [
          "cessation_date",
          "creation_date",
          "diffusion_status",
          "head_office",
          "legal_form",
          "legal_name",
          "naf_code",
          "siren",
          "siret",
          "status",
          "trade_name"
        ]
      },
      "description": "Optional company fields to resolve; omit for the default set."
    }
  },
  "required": [
    "subject_type",
    "identifier"
  ],
  "additionalProperties": false
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "schema_version": {
      "default": "1.2",
      "title": "Schema Version",
      "type": "string"
    },
    "status": {
      "$ref": "#/$defs/VerificationStatus"
    },
    "subject": {
      "$ref": "#/$defs/Subject"
    },
    "facts": {
      "items": {
        "$ref": "#/$defs/Fact"
      },
      "title": "Facts",
      "type": "array"
    },
    "evidence": {
      "items": {
        "$ref": "#/$defs/EvidenceSource"
      },
      "title": "Evidence",
      "type": "array"
    },
    "conflicts": {
      "items": {
        "$ref": "#/$defs/Conflict"
      },
      "title": "Conflicts",
      "type": "array"
    },
    "coverage": {
      "$ref": "#/$defs/Coverage"
    },
    "freshness": {
      "$ref": "#/$defs/Freshness"
    },
    "receipt_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Receipt Id"
    },
    "state_fingerprint": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "State Fingerprint"
    },
    "generated_at": {
      "format": "date-time",
      "title": "Generated At",
      "type": "string"
    }
  },
  "required": [
    "status",
    "subject",
    "facts",
    "evidence",
    "conflicts",
    "coverage",
    "freshness",
    "generated_at"
  ],
  "$defs": {
    "Conflict": {
      "properties": {
        "field": {
          "title": "Field",
          "type": "string"
        },
        "sides": {
          "items": {
            "$ref": "#/$defs/ConflictSide"
          },
          "minItems": 2,
          "title": "Sides",
          "type": "array"
        },
        "resolution_status": {
          "title": "Resolution Status",
          "type": "string"
        },
        "resolution_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Resolution Reason"
        }
      },
      "required": [
        "field",
        "sides",
        "resolution_status"
      ],
      "title": "Conflict",
      "type": "object"
    },
    "ConflictSide": {
      "properties": {
        "value": {
          "title": "Value"
        },
        "evidence_ids": {
          "items": {
            "type": "string"
          },
          "minItems": 1,
          "title": "Evidence Ids",
          "type": "array"
        }
      },
      "required": [
        "value",
        "evidence_ids"
      ],
      "title": "ConflictSide",
      "type": "object"
    },
    "Coverage": {
      "properties": {
        "level": {
          "$ref": "#/$defs/CoverageLevel"
        },
        "fields_requested": {
          "items": {
            "type": "string"
          },
          "title": "Fields Requested",
          "type": "array"
        },
        "fields_resolved": {
          "items": {
            "type": "string"
          },
          "title": "Fields Resolved",
          "type": "array"
        },
        "fields_unresolved": {
          "items": {
            "type": "string"
          },
          "title": "Fields Unresolved",
          "type": "array"
        },
        "metadata": {
          "additionalProperties": true,
          "title": "Metadata",
          "type": "object"
        }
      },
      "required": [
        "level",
        "fields_requested",
        "fields_resolved",
        "fields_unresolved"
      ],
      "title": "Coverage",
      "type": "object"
    },
    "CoverageLevel": {
      "enum": [
        "sufficient",
        "partial",
        "insufficient"
      ],
      "title": "CoverageLevel",
      "type": "string"
    },
    "EvidenceSource": {
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "source_type": {
          "title": "Source Type",
          "type": "string"
        },
        "authority_class": {
          "title": "Authority Class",
          "type": "string"
        },
        "publisher": {
          "title": "Publisher",
          "type": "string"
        },
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Url"
        },
        "retrieved_at": {
          "format": "date-time",
          "title": "Retrieved At",
          "type": "string"
        },
        "effective_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Effective At"
        },
        "content_hash": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Content Hash"
        },
        "source_status": {
          "title": "Source Status",
          "type": "string"
        },
        "metadata": {
          "additionalProperties": true,
          "title": "Metadata",
          "type": "object"
        }
      },
      "required": [
        "id",
        "source_type",
        "authority_class",
        "publisher",
        "retrieved_at",
        "source_status"
      ],
      "title": "EvidenceSource",
      "type": "object"
    },
    "Fact": {
      "properties": {
        "field": {
          "title": "Field",
          "type": "string"
        },
        "value": {
          "title": "Value"
        },
        "normalized_value": {
          "default": null,
          "title": "Normalized Value"
        },
        "effective_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Effective At"
        },
        "evidence_ids": {
          "items": {
            "type": "string"
          },
          "minItems": 1,
          "title": "Evidence Ids",
          "type": "array"
        },
        "jurisdiction": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Jurisdiction"
        },
        "metadata": {
          "additionalProperties": true,
          "title": "Metadata",
          "type": "object"
        },
        "provenance_type": {
          "default": "sourced",
          "title": "Provenance Type",
          "type": "string"
        },
        "support_level": {
          "$ref": "#/$defs/SupportLevel",
          "default": "supported"
        }
      },
      "required": [
        "field",
        "value",
        "evidence_ids"
      ],
      "title": "Fact",
      "type": "object"
    },
    "Freshness": {
      "properties": {
        "generated_at": {
          "format": "date-time",
          "title": "Generated At",
          "type": "string"
        },
        "oldest_supporting_retrieved_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Oldest Supporting Retrieved At"
        },
        "newest_supporting_retrieved_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Newest Supporting Retrieved At"
        },
        "stale": {
          "title": "Stale",
          "type": "boolean"
        },
        "recheck_after": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Recheck After"
        }
      },
      "required": [
        "generated_at",
        "stale"
      ],
      "title": "Freshness",
      "type": "object"
    },
    "Subject": {
      "properties": {
        "type": {
          "title": "Type",
          "type": "string"
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Name"
        },
        "identifiers": {
          "additionalProperties": {
            "type": "string"
          },
          "title": "Identifiers",
          "type": "object"
        }
      },
      "required": [
        "type"
      ],
      "title": "Subject",
      "type": "object"
    },
    "SupportLevel": {
      "description": "How strongly a fact is supported, independent of numeric confidence.",
      "enum": [
        "authoritative",
        "supported",
        "derived_supported",
        "derived_provisional",
        "curated",
        "caller_input"
      ],
      "title": "SupportLevel",
      "type": "string"
    },
    "VerificationStatus": {
      "enum": [
        "supported",
        "contradicted",
        "insufficient_evidence",
        "stale",
        "conflicting_sources"
      ],
      "title": "VerificationStatus",
      "type": "string"
    }
  },
  "title": "EvidenceEnvelope"
}
🟢factrail_get_receipt(receipt_id)

Use when you need to re-fetch or audit a previously returned FACTRAIL result by its receipt ID. Recomputes the stored EvidenceEnvelope's content hash and rejects altered content; this checks integrity, not truth.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "receipt_id": {
      "type": "string",
      "pattern": "^fr_[0-9a-f]{64}$",
      "description": "A FACTRAIL evidence observation ID."
    }
  },
  "required": [
    "receipt_id"
  ],
  "additionalProperties": false
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "schema_version": {
      "default": "1.2",
      "title": "Schema Version",
      "type": "string"
    },
    "status": {
      "$ref": "#/$defs/VerificationStatus"
    },
    "subject": {
      "$ref": "#/$defs/Subject"
    },
    "facts": {
      "items": {
        "$ref": "#/$defs/Fact"
      },
      "title": "Facts",
      "type": "array"
    },
    "evidence": {
      "items": {
        "$ref": "#/$defs/EvidenceSource"
      },
      "title": "Evidence",
      "type": "array"
    },
    "conflicts": {
      "items": {
        "$ref": "#/$defs/Conflict"
      },
      "title": "Conflicts",
      "type": "array"
    },
    "coverage": {
      "$ref": "#/$defs/Coverage"
    },
    "freshness": {
      "$ref": "#/$defs/Freshness"
    },
    "receipt_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Receipt Id"
    },
    "state_fingerprint": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "State Fingerprint"
    },
    "generated_at": {
      "format": "date-time",
      "title": "Generated At",
      "type": "string"
    }
  },
  "required": [
    "status",
    "subject",
    "facts",
    "evidence",
    "conflicts",
    "coverage",
    "freshness",
    "generated_at"
  ],
  "$defs": {
    "Conflict": {
      "properties": {
        "field": {
          "title": "Field",
          "type": "string"
        },
        "sides": {
          "items": {
            "$ref": "#/$defs/ConflictSide"
          },
          "minItems": 2,
          "title": "Sides",
          "type": "array"
        },
        "resolution_status": {
          "title": "Resolution Status",
          "type": "string"
        },
        "resolution_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Resolution Reason"
        }
      },
      "required": [
        "field",
        "sides",
        "resolution_status"
      ],
      "title": "Conflict",
      "type": "object"
    },
    "ConflictSide": {
      "properties": {
        "value": {
          "title": "Value"
        },
        "evidence_ids": {
          "items": {
            "type": "string"
          },
          "minItems": 1,
          "title": "Evidence Ids",
          "type": "array"
        }
      },
      "required": [
        "value",
        "evidence_ids"
      ],
      "title": "ConflictSide",
      "type": "object"
    },
    "Coverage": {
      "properties": {
        "level": {
          "$ref": "#/$defs/CoverageLevel"
        },
        "fields_requested": {
          "items": {
            "type": "string"
          },
          "title": "Fields Requested",
          "type": "array"
        },
        "fields_resolved": {
          "items": {
            "type": "string"
          },
          "title": "Fields Resolved",
          "type": "array"
        },
        "fields_unresolved": {
          "items": {
            "type": "string"
          },
          "title": "Fields Unresolved",
          "type": "array"
        },
        "metadata": {
          "additionalProperties": true,
          "title": "Metadata",
          "type": "object"
        }
      },
      "required": [
        "level",
        "fields_requested",
        "fields_resolved",
        "fields_unresolved"
      ],
      "title": "Coverage",
      "type": "object"
    },
    "CoverageLevel": {
      "enum": [
        "sufficient",
        "partial",
        "insufficient"
      ],
      "title": "CoverageLevel",
      "type": "string"
    },
    "EvidenceSource": {
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "source_type": {
          "title": "Source Type",
          "type": "string"
        },
        "authority_class": {
          "title": "Authority Class",
          "type": "string"
        },
        "publisher": {
          "title": "Publisher",
          "type": "string"
        },
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Url"
        },
        "retrieved_at": {
          "format": "date-time",
          "title": "Retrieved At",
          "type": "string"
        },
        "effective_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Effective At"
        },
        "content_hash": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Content Hash"
        },
        "source_status": {
          "title": "Source Status",
          "type": "string"
        },
        "metadata": {
          "additionalProperties": true,
          "title": "Metadata",
          "type": "object"
        }
      },
      "required": [
        "id",
        "source_type",
        "authority_class",
        "publisher",
        "retrieved_at",
        "source_status"
      ],
      "title": "EvidenceSource",
      "type": "object"
    },
    "Fact": {
      "properties": {
        "field": {
          "title": "Field",
          "type": "string"
        },
        "value": {
          "title": "Value"
        },
        "normalized_value": {
          "default": null,
          "title": "Normalized Value"
        },
        "effective_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Effective At"
        },
        "evidence_ids": {
          "items": {
            "type": "string"
          },
          "minItems": 1,
          "title": "Evidence Ids",
          "type": "array"
        },
        "jurisdiction": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Jurisdiction"
        },
        "metadata": {
          "additionalProperties": true,
          "title": "Metadata",
          "type": "object"
        },
        "provenance_type": {
          "default": "sourced",
          "title": "Provenance Type",
          "type": "string"
        },
        "support_level": {
          "$ref": "#/$defs/SupportLevel",
          "default": "supported"
        }
      },
      "required": [
        "field",
        "value",
        "evidence_ids"
      ],
      "title": "Fact",
      "type": "object"
    },
    "Freshness": {
      "properties": {
        "generated_at": {
          "format": "date-time",
          "title": "Generated At",
          "type": "string"
        },
        "oldest_supporting_retrieved_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Oldest Supporting Retrieved At"
        },
        "newest_supporting_retrieved_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Newest Supporting Retrieved At"
        },
        "stale": {
          "title": "Stale",
          "type": "boolean"
        },
        "recheck_after": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Recheck After"
        }
      },
      "required": [
        "generated_at",
        "stale"
      ],
      "title": "Freshness",
      "type": "object"
    },
    "Subject": {
      "properties": {
        "type": {
          "title": "Type",
          "type": "string"
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Name"
        },
        "identifiers": {
          "additionalProperties": {
            "type": "string"
          },
          "title": "Identifiers",
          "type": "object"
        }
      },
      "required": [
        "type"
      ],
      "title": "Subject",
      "type": "object"
    },
    "SupportLevel": {
      "description": "How strongly a fact is supported, independent of numeric confidence.",
      "enum": [
        "authoritative",
        "supported",
        "derived_supported",
        "derived_provisional",
        "curated",
        "caller_input"
      ],
      "title": "SupportLevel",
      "type": "string"
    },
    "VerificationStatus": {
      "enum": [
        "supported",
        "contradicted",
        "insufficient_evidence",
        "stale",
        "conflicting_sources"
      ],
      "title": "VerificationStatus",
      "type": "string"
    }
  },
  "title": "EvidenceEnvelope"
}
🟢verify_french_company(identifier)

Deprecated: use factrail_verify instead. Use when an older integration still expects the legacy flat French company lookup by SIREN/SIRET; kept callable for compatibility only.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "identifier": {
      "type": "string",
      "description": "A 9-digit SIREN or 14-digit SIRET."
    }
  },
  "required": [
    "identifier"
  ]
}
🟢assess_import(product, origin_country, destination_country, quantity, goods_value, ...)

Deprecated: use factrail_assess instead. Use when an older integration still expects the legacy beta EU import assessment format; coverage may be partial or provisional and this is not a binding customs result.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "product": {
      "type": "string",
      "description": "Short product description (e.g. '750ml insulated stainless steel drinking bottle')."
    },
    "origin_country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 origin country code (e.g. 'CN')."
    },
    "destination_country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 EU destination country code (e.g. 'FR'). V0 supports EU member states only."
    },
    "quantity": {
      "type": "integer",
      "description": "Number of units."
    },
    "goods_value": {
      "type": "number",
      "description": "Total goods value in the given currency."
    },
    "currency": {
      "type": "string",
      "description": "ISO 4217 currency code (e.g. 'EUR')."
    },
    "known_hs_code": {
      "type": "string",
      "description": "Optional known HS code (6-10 digits). If supplied, validated and enriched."
    },
    "material": {
      "type": "string",
      "description": "Optional primary material (e.g. 'stainless steel')."
    },
    "weight_kg": {
      "type": "number",
      "description": "Optional gross weight per unit in kg."
    },
    "dimensions": {
      "type": "string",
      "description": "Optional product dimensions (e.g. '25x8x8 cm')."
    },
    "manufacturer": {
      "type": "string",
      "description": "Optional manufacturer name."
    },
    "model": {
      "type": "string",
      "description": "Optional model identifier."
    },
    "incoterm": {
      "type": "string",
      "description": "Optional Incoterm (e.g. 'FCA', 'CIF', 'DDP')."
    },
    "shipping_mode": {
      "type": "string",
      "description": "Optional shipping mode (e.g. 'sea', 'air', 'road')."
    },
    "origin_location": {
      "type": "string",
      "description": "Optional origin city/port/location."
    },
    "destination_location": {
      "type": "string",
      "description": "Optional destination city/port/location."
    },
    "freight_cost": {
      "type": "number",
      "description": "Optional total freight cost in the given currency."
    },
    "insurance_cost": {
      "type": "number",
      "description": "Optional total insurance cost in the given currency."
    }
  },
  "required": [
    "product",
    "origin_country",
    "destination_country",
    "quantity",
    "goods_value",
    "currency"
  ]
}
🟢analyze_company(siren, company_name, country_code)

Deprecated: use factrail_verify instead. Use only when an older integration still calls this experimental tool; financial and credit data sources are unavailable and returned fields are null.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "siren": {
      "type": "string",
      "description": "Optional SIREN (9-digit) or SIRET (14-digit) identifier."
    },
    "company_name": {
      "type": "string",
      "description": "Optional caller-provided display name; it is echoed without verification."
    },
    "country_code": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code."
    }
  },
  "required": []
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada7 herramientas
observación fallidaversión no registrada—
verificadoversión no registrada2 herramientas