{
  "x402Version": 2,
  "id": 32194,
  "slug": "32194",
  "resource": "https://www.mahastrategies.com/api/v1/micro/tool-permission-diff",
  "description": "Review permission changes before an agent release. Compare two explicit allow-only sets by tool, action and exact resource; report additions, removals and wildcard additions. Does not resolve IAM inheritance or wildcard containment, or authorize execution.",
  "type": "http",
  "serviceName": "Tool Permission Change Analysis",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1786099228/bazaar-icons/1a820036513dff1d.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xec84c1cd6602bbe387bc8e6f0d3c062f2762de28",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "21000",
      "amountUsd": 0.021,
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "additionalProperties": false,
        "properties": {
          "amountBaseUnits": {
            "enum": [
              "21000"
            ],
            "type": "string"
          },
          "boundaries": {
            "maxItems": 128,
            "minItems": 0,
            "type": "array"
          },
          "inputDigest": {
            "maxLength": 71,
            "type": "string"
          },
          "offerId": {
            "enum": [
              "tool-permission-diff"
            ],
            "type": "string"
          },
          "receiptDigest": {
            "maxLength": 71,
            "type": "string"
          },
          "result": {
            "type": "object"
          },
          "version": {
            "enum": [
              "maha-microproducts/0.1"
            ],
            "type": "string"
          }
        },
        "required": [
          "version",
          "offerId",
          "amountBaseUnits",
          "inputDigest",
          "result",
          "boundaries",
          "receiptDigest"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "after": [
              {
                "action": "read",
                "resource": "*",
                "tool": "files"
              }
            ],
            "before": [
              {
                "action": "read",
                "resource": "public/example",
                "tool": "files"
              }
            ],
            "dataClass": "synthetic"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "amountBaseUnits": "21000",
            "boundaries": [
              "Public or synthetic inputs only. Caller labels are declarations,…"
            ],
            "inputDigest": "sha256:1f32d39d3ccd205fb32fda243d7fbf9974016d93752fd2c9a3131ff11…",
            "offerId": "tool-permission-diff",
            "receiptDigest": "sha256:014b323b46aa62cf7e2648d30c831e4ac71dd0be56b81ad9d2e536a1a…",
            "result": {
              "added": [
                {
                  "action": "read",
                  "resource": "*",
                  "tool": "files"
                }
              ],
              "effectiveAuthorizationEvaluated": false,
              "removed": [
                {
                  "action": "read",
                  "resource": "public/example",
                  "tool": "files"
                }
              ],
              "wildcardAdditions": [
                {
                  "action": "read",
                  "resource": "*",
                  "tool": "files"
                }
              ]
            },
            "version": "maha-microproducts/0.1"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "after": {
                    "maxItems": 50,
                    "minItems": 0,
                    "type": "array"
                  },
                  "before": {
                    "maxItems": 50,
                    "minItems": 0,
                    "type": "array"
                  },
                  "dataClass": {
                    "enum": [
                      "public",
                      "synthetic"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "dataClass",
                  "before",
                  "after"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "additionalProperties": false,
                "properties": {
                  "amountBaseUnits": {
                    "enum": [
                      "21000"
                    ],
                    "type": "string"
                  },
                  "boundaries": {
                    "maxItems": 128,
                    "minItems": 0,
                    "type": "array"
                  },
                  "inputDigest": {
                    "maxLength": 71,
                    "type": "string"
                  },
                  "offerId": {
                    "enum": [
                      "tool-permission-diff"
                    ],
                    "type": "string"
                  },
                  "receiptDigest": {
                    "maxLength": 71,
                    "type": "string"
                  },
                  "result": {
                    "type": "object"
                  },
                  "version": {
                    "enum": [
                      "maha-microproducts/0.1"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "version",
                  "offerId",
                  "amountBaseUnits",
                  "inputDigest",
                  "result",
                  "boundaries",
                  "receiptDigest"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "declaration-integrity": {
      "canonicalResource": "https://www.mahastrategies.com/api/v1/micro/tool-permission-diff",
      "declarationDigest": "sha256:9660e04be1ebd4265476d9c57e8d4d1357c284adaec6b78c2a11b4527215de84",
      "metadataVersion": "2026-08-10"
    },
    "maha-offer": {
      "amount": "21000",
      "asset": "USDC",
      "assetDecimals": 6,
      "canonicalResource": "https://www.mahastrategies.com/api/v1/micro/tool-permission-diff",
      "declarationInline": "compact",
      "declarationUrl": "https://www.mahastrategies.com/api/discovery/x402-offers/tool-permission-diff",
      "fullSourceTextStored": false,
      "maxRequestBytes": 32768,
      "method": "POST",
      "network": "eip155:8453",
      "offerId": "tool-permission-diff",
      "payableInProduction": true,
      "status": "available",
      "verbatimExcerptsRetained": false
    }
  },
  "tags": [
    "bounded-computation",
    "evidence",
    "deterministic",
    "microproduct",
    "bazaar",
    "declaration-integrity",
    "maha-offer"
  ],
  "sourceHost": "www.mahastrategies.com",
  "lastUpdated": "2026-10-07T01:29:26.792Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-07T01:29:26.523Z"
  },
  "metadata": {
    "serviceName": "Tool Permission Change Analysis",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1786099228/bazaar-icons/1a820036513dff1d.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "after": [
                {
                  "action": "read",
                  "resource": "*",
                  "tool": "files"
                }
              ],
              "before": [
                {
                  "action": "read",
                  "resource": "public/example",
                  "tool": "files"
                }
              ],
              "dataClass": "synthetic"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "amountBaseUnits": "21000",
              "boundaries": [
                "Public or synthetic inputs only. Caller labels are declarations,…"
              ],
              "inputDigest": "sha256:1f32d39d3ccd205fb32fda243d7fbf9974016d93752fd2c9a3131ff11…",
              "offerId": "tool-permission-diff",
              "receiptDigest": "sha256:014b323b46aa62cf7e2648d30c831e4ac71dd0be56b81ad9d2e536a1a…",
              "result": {
                "added": [
                  {
                    "action": "read",
                    "resource": "*",
                    "tool": "files"
                  }
                ],
                "effectiveAuthorizationEvaluated": false,
                "removed": [
                  {
                    "action": "read",
                    "resource": "public/example",
                    "tool": "files"
                  }
                ],
                "wildcardAdditions": [
                  {
                    "action": "read",
                    "resource": "*",
                    "tool": "files"
                  }
                ]
              },
              "version": "maha-microproducts/0.1"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "after": {
                      "maxItems": 50,
                      "minItems": 0,
                      "type": "array"
                    },
                    "before": {
                      "maxItems": 50,
                      "minItems": 0,
                      "type": "array"
                    },
                    "dataClass": {
                      "enum": [
                        "public",
                        "synthetic"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "dataClass",
                    "before",
                    "after"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "additionalProperties": false,
                  "properties": {
                    "amountBaseUnits": {
                      "enum": [
                        "21000"
                      ],
                      "type": "string"
                    },
                    "boundaries": {
                      "maxItems": 128,
                      "minItems": 0,
                      "type": "array"
                    },
                    "inputDigest": {
                      "maxLength": 71,
                      "type": "string"
                    },
                    "offerId": {
                      "enum": [
                        "tool-permission-diff"
                      ],
                      "type": "string"
                    },
                    "receiptDigest": {
                      "maxLength": 71,
                      "type": "string"
                    },
                    "result": {
                      "type": "object"
                    },
                    "version": {
                      "enum": [
                        "maha-microproducts/0.1"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "version",
                    "offerId",
                    "amountBaseUnits",
                    "inputDigest",
                    "result",
                    "boundaries",
                    "receiptDigest"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "declaration-integrity": {
        "canonicalResource": "https://www.mahastrategies.com/api/v1/micro/tool-permission-diff",
        "declarationDigest": "sha256:9660e04be1ebd4265476d9c57e8d4d1357c284adaec6b78c2a11b4527215de84",
        "metadataVersion": "2026-08-10"
      },
      "maha-offer": {
        "amount": "21000",
        "asset": "USDC",
        "assetDecimals": 6,
        "canonicalResource": "https://www.mahastrategies.com/api/v1/micro/tool-permission-diff",
        "declarationInline": "compact",
        "declarationUrl": "https://www.mahastrategies.com/api/discovery/x402-offers/tool-permission-diff",
        "fullSourceTextStored": false,
        "maxRequestBytes": 32768,
        "method": "POST",
        "network": "eip155:8453",
        "offerId": "tool-permission-diff",
        "payableInProduction": true,
        "status": "available",
        "verbatimExcerptsRetained": false
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "www.mahastrategies.com",
    "manifest_name": "www.mahastrategies.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "amountBaseUnits": "21000",
    "boundaries": [
      "Public or synthetic inputs only. Caller labels are declarations,…"
    ],
    "inputDigest": "sha256:1f32d39d3ccd205fb32fda243d7fbf9974016d93752fd2c9a3131ff11…",
    "offerId": "tool-permission-diff",
    "receiptDigest": "sha256:014b323b46aa62cf7e2648d30c831e4ac71dd0be56b81ad9d2e536a1a…",
    "result": {
      "added": [
        {
          "action": "read",
          "resource": "*",
          "tool": "files"
        }
      ],
      "effectiveAuthorizationEvaluated": false,
      "removed": [
        {
          "action": "read",
          "resource": "public/example",
          "tool": "files"
        }
      ],
      "wildcardAdditions": [
        {
          "action": "read",
          "resource": "*",
          "tool": "files"
        }
      ]
    },
    "version": "maha-microproducts/0.1"
  }
}