naftiko: 1.0.0-alpha2 info: label: Gremlin API — aws.metadata description: 'Gremlin API — aws.metadata. 3 operations. Lead operation: Queries Gremlin''s view of Autoscaling Groups in a given AWS account. Self-contained Naftiko capability covering one Gremlin business surface.' tags: - Gremlin - aws.metadata created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GREMLIN_API_KEY: GREMLIN_API_KEY capability: consumes: - type: http namespace: gremlin-aws-metadata baseUri: https://api.gremlin.com/v1 description: Gremlin API — aws.metadata business capability. Self-contained, no shared references. resources: - name: aws-metadata-autoscaling-groups path: /aws/metadata/autoscaling-groups operations: - name: getautoscalinggroupsforaccount method: GET description: Queries Gremlin's view of Autoscaling Groups in a given AWS account outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: domain in: query type: string required: true - name: mode in: query type: string - name: teamId in: query type: string description: Required when using company session token. required: true - name: aws-metadata-iam-role path: /aws/metadata/iam-role operations: - name: getawsmetadataiamrole method: GET description: Returns the policy document necessary for Gremlin to access AWS resources. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: teamId in: query type: string description: Required when using company session token. required: true - name: aws-metadata-load-balancers path: /aws/metadata/load-balancers operations: - name: getloadbalancersforaccount method: GET description: Queries Gremlin's view of Load balancers in a given AWS account outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: domain in: query type: string required: true - name: mode in: query type: string - name: teamId in: query type: string description: Required when using company session token. required: true exposes: - type: rest namespace: gremlin-aws-metadata-rest port: 8080 description: REST adapter for Gremlin API — aws.metadata. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/aws/metadata/autoscaling-groups name: aws-metadata-autoscaling-groups description: REST surface for aws-metadata-autoscaling-groups. operations: - method: GET name: getautoscalinggroupsforaccount description: Queries Gremlin's view of Autoscaling Groups in a given AWS account call: gremlin-aws-metadata.getautoscalinggroupsforaccount with: domain: rest.domain mode: rest.mode teamId: rest.teamId outputParameters: - type: object mapping: $. - path: /v1/aws/metadata/iam-role name: aws-metadata-iam-role description: REST surface for aws-metadata-iam-role. operations: - method: GET name: getawsmetadataiamrole description: Returns the policy document necessary for Gremlin to access AWS resources. call: gremlin-aws-metadata.getawsmetadataiamrole with: teamId: rest.teamId outputParameters: - type: object mapping: $. - path: /v1/aws/metadata/load-balancers name: aws-metadata-load-balancers description: REST surface for aws-metadata-load-balancers. operations: - method: GET name: getloadbalancersforaccount description: Queries Gremlin's view of Load balancers in a given AWS account call: gremlin-aws-metadata.getloadbalancersforaccount with: domain: rest.domain mode: rest.mode teamId: rest.teamId outputParameters: - type: object mapping: $. - type: mcp namespace: gremlin-aws-metadata-mcp port: 9090 transport: http description: MCP adapter for Gremlin API — aws.metadata. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: queries-gremlin-s-view-autoscaling-groups description: Queries Gremlin's view of Autoscaling Groups in a given AWS account hints: readOnly: true destructive: false idempotent: true call: gremlin-aws-metadata.getautoscalinggroupsforaccount with: domain: tools.domain mode: tools.mode teamId: tools.teamId outputParameters: - type: object mapping: $. - name: returns-policy-document-necessary-gremlin description: Returns the policy document necessary for Gremlin to access AWS resources. hints: readOnly: true destructive: false idempotent: true call: gremlin-aws-metadata.getawsmetadataiamrole with: teamId: tools.teamId outputParameters: - type: object mapping: $. - name: queries-gremlin-s-view-load-balancers description: Queries Gremlin's view of Load balancers in a given AWS account hints: readOnly: true destructive: false idempotent: true call: gremlin-aws-metadata.getloadbalancersforaccount with: domain: tools.domain mode: tools.mode teamId: tools.teamId outputParameters: - type: object mapping: $.