Skip to main content
Glama

search_configuration_items

Find configuration items in Autotask by name, company, product, or active status to manage IT assets and resources.

Instructions

Search for configuration items in Autotask with optional filters

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
searchTermNoSearch term for configuration item name
companyIDNoFilter by company ID
isActiveNoFilter by active status
productIDNoFilter by product ID
pageSizeNoNumber of results to return (default: 25, max: 500)

Implementation Reference

  • Tool registration including name, description, and detailed input schema in the listTools() method.
    { name: 'search_configuration_items', description: 'Search for configuration items in Autotask with optional filters', inputSchema: { type: 'object', properties: { searchTerm: { type: 'string', description: 'Search term for configuration item name' }, companyID: { type: 'number', description: 'Filter by company ID' }, isActive: { type: 'boolean', description: 'Filter by active status' }, productID: { type: 'number', description: 'Filter by product ID' }, pageSize: { type: 'number', description: 'Number of results to return (default: 25, max: 500)', minimum: 1, maximum: 500 } }, required: [] } },
  • MCP dispatch handler in callTool() switch statement that invokes the autotask service.
    // Configuration Item tools case 'search_configuration_items': result = await this.autotaskService.searchConfigurationItems(args); message = `Found ${result.length} configuration items`; break;
  • Core implementation of searchConfigurationItems that queries the Autotask API via the client library, handles errors, and returns typed results.
    async searchConfigurationItems(options: AutotaskQueryOptions = {}): Promise<AutotaskConfigurationItem[]> { const client = await this.ensureClient(); try { this.logger.debug('Searching configuration items with options:', options); const result = await client.configurationItems.list(options as any); return (result.data as AutotaskConfigurationItem[]) || []; } catch (error) { this.logger.error('Failed to search configuration items:', error); throw error; } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/asachs01/autotask-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server