Telnyx · Capability

Telnyx API — MDR Detail Reports

Telnyx API — MDR Detail Reports. 1 operations. Lead operation: Fetch all Mdr records. Self-contained Naftiko capability covering one Telnyx business surface.

Run with Naftiko TelnyxMDR Detail Reports

What You Can Do

GET
Getpaginatedmdrs — Fetch all Mdr records
/v1/reports/mdrs

MCP Tools

fetch-all-mdr-records

Fetch all Mdr records

read-only idempotent

Capability Spec

telnyx-mdr-detail-reports.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Telnyx API — MDR Detail Reports
  description: 'Telnyx API — MDR Detail Reports. 1 operations. Lead operation: Fetch all Mdr records. Self-contained Naftiko
    capability covering one Telnyx business surface.'
  tags:
  - Telnyx
  - MDR Detail Reports
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TELNYX_API_KEY: TELNYX_API_KEY
capability:
  consumes:
  - type: http
    namespace: telnyx-mdr-detail-reports
    baseUri: https://api.telnyx.com/v2
    description: Telnyx API — MDR Detail Reports business capability. Self-contained, no shared references.
    resources:
    - name: reports-mdrs
      path: /reports/mdrs
      operations:
      - name: getpaginatedmdrs
        method: GET
        description: Fetch all Mdr records
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: start_date
          in: query
          type: string
          description: Pagination start date
        - name: end_date
          in: query
          type: string
          description: Pagination end date
        - name: id
          in: query
          type: string
        - name: direction
          in: query
          type: string
        - name: profile
          in: query
          type: string
        - name: cld
          in: query
          type: string
        - name: cli
          in: query
          type: string
        - name: status
          in: query
          type: string
        - name: message_type
          in: query
          type: string
    authentication:
      type: bearer
      token: '{{env.TELNYX_API_KEY}}'
  exposes:
  - type: rest
    namespace: telnyx-mdr-detail-reports-rest
    port: 8080
    description: REST adapter for Telnyx API — MDR Detail Reports. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/reports/mdrs
      name: reports-mdrs
      description: REST surface for reports-mdrs.
      operations:
      - method: GET
        name: getpaginatedmdrs
        description: Fetch all Mdr records
        call: telnyx-mdr-detail-reports.getpaginatedmdrs
        with:
          start_date: rest.start_date
          end_date: rest.end_date
          id: rest.id
          direction: rest.direction
          profile: rest.profile
          cld: rest.cld
          cli: rest.cli
          status: rest.status
          message_type: rest.message_type
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: telnyx-mdr-detail-reports-mcp
    port: 9090
    transport: http
    description: MCP adapter for Telnyx API — MDR Detail Reports. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: fetch-all-mdr-records
      description: Fetch all Mdr records
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: telnyx-mdr-detail-reports.getpaginatedmdrs
      with:
        start_date: tools.start_date
        end_date: tools.end_date
        id: tools.id
        direction: tools.direction
        profile: tools.profile
        cld: tools.cld
        cli: tools.cli
        status: tools.status
        message_type: tools.message_type
      outputParameters:
      - type: object
        mapping: $.