{
  "name": "shield-agent-kya",
  "title": "Shield Agent AI (KYA)",
  "description": "Know Your Agent control plane: policy evaluate, session observe, and high-stakes gates. Standard MCP tools; no proprietary client protocol.",
  "protocol": "mcp",
  "install": {
    "selfService": true,
    "accountRequired": false,
    "auth": ["oauth2", "oidc", "api_key"],
    "docs": "https://shield-agent.com/docs/kya/install"
  },
  "tools": [
    {
      "name": "kya.policy_evaluate",
      "description": "Evaluate ALLOW | DENY | REQUIRE_APPROVE for an agent action at the tool boundary.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "action": { "type": "string" },
          "agentId": { "type": "string" },
          "context": { "type": "object" }
        },
        "required": ["action"]
      },
      "kya": { "stakes": "low", "defaultVerdict": "ALLOW" }
    },
    {
      "name": "kya.session_ingest",
      "description": "Ingest an AgentEvent-compatible session observation for raise-only risk.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "session": { "type": "object" }
        },
        "required": ["session"]
      },
      "kya": { "stakes": "low", "defaultVerdict": "ALLOW" }
    },
    {
      "name": "kya.request_approval",
      "description": "Open a human approval request for a high-stakes side effect. Does not execute the side effect.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "action": { "type": "string" },
          "resourceId": { "type": "string" },
          "summary": { "type": "string" }
        },
        "required": ["action"]
      },
      "kya": { "stakes": "high", "defaultVerdict": "REQUIRE_APPROVE" }
    }
  ],
  "http": {
    "policyEvaluate": "/api/v1/kya/policy/evaluate",
    "sessionIngest": "/api/v1/kya/sessions/ingest"
  }
}
