Salesloft · Capability
Salesloft — Counts
Salesloft — Counts. 1 operations. Lead operation: Salesloft Fetch Task Counts. Self-contained Naftiko capability covering one Salesloft business surface.
What You Can Do
GET
Get
— Salesloft Fetch Task Counts
/v1/tasks/counts
MCP Tools
salesloft-fetch-task-counts
Salesloft Fetch Task Counts
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Salesloft — Counts
description: 'Salesloft — Counts. 1 operations. Lead operation: Salesloft Fetch Task Counts. Self-contained Naftiko capability
covering one Salesloft business surface.'
tags:
- Salesloft
- Counts
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
SALESLOFT_API_KEY: SALESLOFT_API_KEY
capability:
consumes:
- type: http
namespace: salesloft-counts
baseUri: http://{{salesloft_api_base_url}}
description: Salesloft — Counts business capability. Self-contained, no shared references.
resources:
- name: tasks-counts
path: /tasks/counts
operations:
- name: get
method: GET
description: Salesloft Fetch Task Counts
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: ids
in: query
type: string
- name: user_id
in: query
type: string
- name: person_id
in: query
type: string
- name: account_id
in: query
type: string
- name: current_state
in: query
type: string
- name: task_type
in: query
type: string
- name: time_interval_filter
in: query
type: string
- name: completed_time_interval
in: query
type: string
- name: idempotency_key
in: query
type: string
- name: locale
in: query
type: string
- name: source
in: query
type: string
- name: sort_by
in: query
type: string
- name: sort_direction
in: query
type: string
authentication:
type: bearer
token: '{{env.SALESLOFT_API_KEY}}'
exposes:
- type: rest
namespace: salesloft-counts-rest
port: 8080
description: REST adapter for Salesloft — Counts. One Spectral-compliant resource per consumed operation, prefixed with
/v1.
resources:
- path: /v1/tasks/counts
name: tasks-counts
description: REST surface for tasks-counts.
operations:
- method: GET
name: get
description: Salesloft Fetch Task Counts
call: salesloft-counts.get
with:
ids: rest.ids
user_id: rest.user_id
person_id: rest.person_id
account_id: rest.account_id
current_state: rest.current_state
task_type: rest.task_type
time_interval_filter: rest.time_interval_filter
completed_time_interval: rest.completed_time_interval
idempotency_key: rest.idempotency_key
locale: rest.locale
source: rest.source
sort_by: rest.sort_by
sort_direction: rest.sort_direction
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: salesloft-counts-mcp
port: 9090
transport: http
description: MCP adapter for Salesloft — Counts. One tool per consumed operation, routed inline through this capability's
consumes block.
tools:
- name: salesloft-fetch-task-counts
description: Salesloft Fetch Task Counts
hints:
readOnly: true
destructive: false
idempotent: true
call: salesloft-counts.get
with:
ids: tools.ids
user_id: tools.user_id
person_id: tools.person_id
account_id: tools.account_id
current_state: tools.current_state
task_type: tools.task_type
time_interval_filter: tools.time_interval_filter
completed_time_interval: tools.completed_time_interval
idempotency_key: tools.idempotency_key
locale: tools.locale
source: tools.source
sort_by: tools.sort_by
sort_direction: tools.sort_direction
outputParameters:
- type: object
mapping: $.