Skip to main content
Glama

BRAINIAC Agent Execution Contract Intelligence

Check state transition contracts

agent-contracts_state-transition-check
Read-onlyIdempotent

Find supplied workflow transitions that name an unknown state, two destinations for one trigger, or an operation that is not in the supplied list. Missing edges are undocumented, not proof a state is unreachable. Price $0.04 USDC. POST /api/v1/agent-contracts/state-transition-check. An unpaid call returns the x402 payment terms and does not run.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "agent-contracts_state-transition-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
openapiNoopenapi, object. Optional.
workflowsNoworkflows, array. Optional.
operationsNooperations, array. Optional.

Output Schema

NameRequiredDescriptionDefault
scoreNoscore. Number.
issuesNoissues. Array.
successNosuccess. Boolean.
analysisNoanalysis. String.
warningsNowarnings. Array.
limitationsNolimitations. Array.
recommendationsNorecommendations. Array.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed57 schema fields changed
    • addedInput schema / properties / openapi / description
      Added value: +"openapi, object. Optional."
    • addedInput schema / properties / operations / description
      Added value: +"operations, array. Optional."
    • addedInput schema / properties / operations / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / operations / items / properties / description / description
      Added value: +"description, string, length 0 to 8000. Optional."
    • addedInput schema / properties / operations / items / properties / examples / description
      Added value: +"examples, array. Optional."
    • addedInput schema / properties / operations / items / properties / examples / items / description
      Added value: +"item, value. Required."
    • removedInput schema / properties / operations / items / properties / examples / maxItems
      Removed value: -8
    • addedInput schema / properties / operations / items / properties / method / description
      Added value: +"method, string, length 0 to 16. Optional."
    • addedInput schema / properties / operations / items / properties / name / description
      Added value: +"name, string, length 1 to 160. Required."
    • addedInput schema / properties / operations / items / properties / outputSchema / description
      Added value: +"outputSchema, object. Optional."
    • addedInput schema / properties / operations / items / properties / parameters / description
      Added value: +"parameters, array. Optional."
    • addedInput schema / properties / operations / items / properties / parameters / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / operations / items / properties / parameters / items / properties / description / description
      Added value: +"description, string, length 0 to 4000. Optional."
    • addedInput schema / properties / operations / items / properties / parameters / items / properties / in / description
      Added value: +"in, string, one of query, header, path, cookie, body. Optional."
    • addedInput schema / properties / operations / items / properties / parameters / items / properties / name / description
      Added value: +"name, string, length 1 to 120. Required."
    • addedInput schema / properties / operations / items / properties / parameters / items / properties / required / description
      Added value: +"required, boolean. Optional."
    • addedInput schema / properties / operations / items / properties / parameters / items / properties / schema / description
      Added value: +"schema, object. Optional."
    • removedInput schema / properties / operations / items / properties / parameters / maxItems
      Removed value: -40
    • addedInput schema / properties / operations / items / properties / path / description
      Added value: +"path, string, length 0 to 400. Optional."
    • addedInput schema / properties / operations / items / properties / requestSchema / description
      Added value: +"requestSchema, object. Optional."
    • addedInput schema / properties / operations / items / properties / responses / description
      Added value: +"responses, array. Optional."
    • addedInput schema / properties / operations / items / properties / responses / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / operations / items / properties / responses / items / properties / description / description
      Added value: +"description, string, length 0 to 4000. Optional."
    • addedInput schema / properties / operations / items / properties / responses / items / properties / example / description
      Added value: +"example, value. Optional."
    • addedInput schema / properties / operations / items / properties / responses / items / properties / examples / description
      Added value: +"examples, array. Optional."
    • addedInput schema / properties / operations / items / properties / responses / items / properties / examples / items / description
      Added value: +"item, value. Required."
    • removedInput schema / properties / operations / items / properties / responses / items / properties / examples / maxItems
      Removed value: -8
    • addedInput schema / properties / operations / items / properties / responses / items / properties / schema / description
      Added value: +"schema, object. Optional."
    • addedInput schema / properties / operations / items / properties / responses / items / properties / status / description
      Added value: +"status, string, length 0 to 40. Optional."
    • removedInput schema / properties / operations / items / properties / responses / maxItems
      Removed value: -20
    • addedInput schema / properties / operations / items / properties / steps / description
      Added value: +"steps, array. Optional."
    • addedInput schema / properties / operations / items / properties / steps / items / description
      Added value: +"item, string, length 1 to 200. Required."
    • removedInput schema / properties / operations / items / properties / steps / maxItems
      Removed value: -20
    • addedInput schema / properties / operations / items / properties / summary / description
      Added value: +"summary, string, length 0 to 1000. Optional."
    • removedInput schema / properties / operations / maxItems
      Removed value: -40
    • addedInput schema / properties / workflows / description
      Added value: +"workflows, array. Optional."
    • addedInput schema / properties / workflows / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / workflows / items / properties / description / description
      Added value: +"description, string, length 0 to 8000. Optional."
    • addedInput schema / properties / workflows / items / properties / name / description
      Added value: +"name, string, length 1 to 160. Required."
    • addedInput schema / properties / workflows / items / properties / states / description
      Added value: +"states, array. Optional."
    • addedInput schema / properties / workflows / items / properties / states / items / description
      Added value: +"item, string, length 1 to 80. Required."
    • removedInput schema / properties / workflows / items / properties / states / maxItems
      Removed value: -40
    • addedInput schema / properties / workflows / items / properties / steps / description
      Added value: +"steps, array. Optional."
    • addedInput schema / properties / workflows / items / properties / steps / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / workflows / items / properties / steps / items / properties / description / description
      Added value: +"description, string, length 0 to 4000. Optional."
    • addedInput schema / properties / workflows / items / properties / steps / items / properties / name / description
      Added value: +"name, string, length 1 to 160. Required."
    • addedInput schema / properties / workflows / items / properties / steps / items / properties / operation / description
      Added value: +"operation, string, length 0 to 160. Optional."
    • removedInput schema / properties / workflows / items / properties / steps / maxItems
      Removed value: -30
    • addedInput schema / properties / workflows / items / properties / transitions / description
      Added value: +"transitions, array. Optional."
    • addedInput schema / properties / workflows / items / properties / transitions / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / workflows / items / properties / transitions / items / properties / from / description
      Added value: +"from, string, length 1 to 80. Required."
    • addedInput schema / properties / workflows / items / properties / transitions / items / properties / on / description
      Added value: +"on, string, length 0 to 200. Optional."
    • addedInput schema / properties / workflows / items / properties / transitions / items / properties / operation / description
      Added value: +"operation, string, length 0 to 160. Optional."
    • addedInput schema / properties / workflows / items / properties / transitions / items / properties / to / description
      Added value: +"to, string, length 1 to 80. Required."
    • removedInput schema / properties / workflows / items / properties / transitions / maxItems
      Removed value: -80
    • removedInput schema / properties / workflows / maxItems
      Removed value: -12
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "analysis": {
      +      "description": "analysis. String.",
      +      "type": "string"
      +    },
      +    "issues": {
      +      "description": "issues. Array.",
      +      "items": {
      +        "additionalProperties": {},
      +        "description": "item. Object.",
      +        "properties": {
      +          "agent_impact": {
      +            "description": "agent_impact. String.",
      +            "type": "string"
      +          },
      +          "description": {
      +            "description": "description. String.",
      +            "type": "string"
      +          },
      +          "evidence": {
      +            "description": "evidence. String.",
      +            "type": "string"
      +          },
      +          "location": {
      +            "description": "location. String.",
      +            "type": "string"
      +          },
      +          "severity": {
      +            "description": "severity. String.",
      +            "type": "string"
      +          },
      +          "suggested_fix": {
      +            "description": "suggested_fix. String.",
      +            "type": "string"
      +          },
      +          "type": {
      +            "description": "type. String.",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "limitations": {
      +      "description": "limitations. Array.",
      +      "items": {
      +        "description": "Item. String.",
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "recommendations": {
      +      "description": "recommendations. Array.",
      +      "items": {
      +        "description": "Item. String.",
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "score": {
      +      "description": "score. Number.",
      +      "type": "number"
      +    },
      +    "success": {
      +      "description": "success. Boolean.",
      +      "type": "boolean"
      +    },
      +    "warnings": {
      +      "description": "warnings. Array.",
      +      "items": {
      +        "additionalProperties": {},
      +        "description": "item. Object.",
      +        "properties": {
      +          "agent_impact": {
      +            "description": "agent_impact. String.",
      +            "type": "string"
      +          },
      +          "description": {
      +            "description": "description. String.",
      +            "type": "string"
      +          },
      +          "evidence": {
      +            "description": "evidence. String.",
      +            "type": "string"
      +          },
      +          "location": {
      +            "description": "location. String.",
      +            "type": "string"
      +          },
      +          "severity": {
      +            "description": "severity. String.",
      +            "type": "string"
      +          },
      +          "suggested_fix": {
      +            "description": "suggested_fix. String.",
      +            "type": "string"
      +          },
      +          "type": {
      +            "description": "type. String.",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources