MongoDB · Capability

MongoDB Atlas Administration API — Rate Limiting

MongoDB Atlas Administration API — Rate Limiting. 2 operations. Lead operation: Return All Rate Limits. Self-contained Naftiko capability covering one Mongodb business surface.

Run with Naftiko MongodbRate Limiting

What You Can Do

GET
Listratelimits — Return All Rate Limits
/v1/api/atlas/v2/ratelimits
GET
Getratelimit — Return One Rate Limit
/v1/api/atlas/v2/ratelimits/{endpointsetid}

MCP Tools

return-all-rate-limits

Return All Rate Limits

read-only idempotent
return-one-rate-limit

Return One Rate Limit

read-only idempotent

Capability Spec

atlas-rate-limiting.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: MongoDB Atlas Administration API — Rate Limiting
  description: 'MongoDB Atlas Administration API — Rate Limiting. 2 operations. Lead operation: Return All Rate Limits. Self-contained
    Naftiko capability covering one Mongodb business surface.'
  tags:
  - Mongodb
  - Rate Limiting
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MONGODB_API_KEY: MONGODB_API_KEY
capability:
  consumes:
  - type: http
    namespace: atlas-rate-limiting
    baseUri: https://cloud.mongodb.com
    description: MongoDB Atlas Administration API — Rate Limiting business capability. Self-contained, no shared references.
    resources:
    - name: api-atlas-v2-rateLimits
      path: /api/atlas/v2/rateLimits
      operations:
      - name: listratelimits
        method: GET
        description: Return All Rate Limits
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: groupId
          in: query
          type: string
          description: Unique 24-hexadecimal digit string that identifies the Atlas Project to request rate limits for. When
            this parameter is provided, only group scoped endpoint set
        - name: orgId
          in: query
          type: string
          description: 'Unique 24-hexadecimal digit string that identifies the Atlas Organization to request rate limits for.
            When this parameter is provided, only organization scoped '
        - name: userId
          in: query
          type: string
          description: A string that identifies the Atlas user to request rate limits for. The ID can for example be the Service
            Account Client ID or the API Public Key. When this par
        - name: ipAddress
          in: query
          type: string
          description: An IP address to request rate limits for. When this parameter is provided, only IP scoped endpoint
            sets are returned and the limits returned are applicable to t
        - name: name
          in: query
          type: string
          description: Filters the returned endpoint sets by the provided endpoint set name. Multiple names may be provided,
            for example `/rateLimits?name=Name1&name=Name2`. For names
        - name: endpointPath
          in: query
          type: string
          description: Filters the returned endpoint sets by the provided endpoint path. Multiple paths may be provided, for
            example `/rateLimits?endpointPath=%2Fapi%2Fatlas%2Fv2%2Fcl
    - name: api-atlas-v2-rateLimits-endpointSetId
      path: /api/atlas/v2/rateLimits/{endpointSetId}
      operations:
      - name: getratelimit
        method: GET
        description: Return One Rate Limit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: endpointSetId
          in: path
          type: string
          description: The ID of the rate limit endpoint set.
          required: true
        - name: groupId
          in: query
          type: string
          description: Unique 24-hexadecimal digit string that identifies the Atlas Project to request rate limits for. When
            this parameter is provided, the limits returned are applic
        - name: orgId
          in: query
          type: string
          description: Unique 24-hexadecimal digit string that identifies the Atlas Organization to request rate limits for.
            When this parameter is provided, the limits returned are a
        - name: userId
          in: query
          type: string
          description: A string that identifies the Atlas user to request rate limits for. The ID can for example be the Service
            Account Client ID or the API Public Key. When this par
        - name: ipAddress
          in: query
          type: string
          description: An IP address to request rate limits for. When this parameter is provided, the limits returned are
            applicable to the specified IP address. The requesting user m
    authentication:
      type: bearer
      token: '{{env.MONGODB_API_KEY}}'
  exposes:
  - type: rest
    namespace: atlas-rate-limiting-rest
    port: 8080
    description: REST adapter for MongoDB Atlas Administration API — Rate Limiting. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/api/atlas/v2/ratelimits
      name: api-atlas-v2-ratelimits
      description: REST surface for api-atlas-v2-rateLimits.
      operations:
      - method: GET
        name: listratelimits
        description: Return All Rate Limits
        call: atlas-rate-limiting.listratelimits
        with:
          groupId: rest.groupId
          orgId: rest.orgId
          userId: rest.userId
          ipAddress: rest.ipAddress
          name: rest.name
          endpointPath: rest.endpointPath
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/atlas/v2/ratelimits/{endpointsetid}
      name: api-atlas-v2-ratelimits-endpointsetid
      description: REST surface for api-atlas-v2-rateLimits-endpointSetId.
      operations:
      - method: GET
        name: getratelimit
        description: Return One Rate Limit
        call: atlas-rate-limiting.getratelimit
        with:
          endpointSetId: rest.endpointSetId
          groupId: rest.groupId
          orgId: rest.orgId
          userId: rest.userId
          ipAddress: rest.ipAddress
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: atlas-rate-limiting-mcp
    port: 9090
    transport: http
    description: MCP adapter for MongoDB Atlas Administration API — Rate Limiting. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: return-all-rate-limits
      description: Return All Rate Limits
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: atlas-rate-limiting.listratelimits
      with:
        groupId: tools.groupId
        orgId: tools.orgId
        userId: tools.userId
        ipAddress: tools.ipAddress
        name: tools.name
        endpointPath: tools.endpointPath
      outputParameters:
      - type: object
        mapping: $.
    - name: return-one-rate-limit
      description: Return One Rate Limit
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: atlas-rate-limiting.getratelimit
      with:
        endpointSetId: tools.endpointSetId
        groupId: tools.groupId
        orgId: tools.orgId
        userId: tools.userId
        ipAddress: tools.ipAddress
      outputParameters:
      - type: object
        mapping: $.