Skip to main content
Glama
companies.ts3.37 kB
/** * Companies-related prompt templates */ import { PromptTemplate } from '../types.js'; /** * Prompt templates for company operations */ export const companiesPrompts: PromptTemplate[] = [ { id: 'create-company', title: 'Create a new company', description: 'Create a new company record in Attio with the provided details', category: 'companies', parameters: [ { name: 'name', type: 'string', description: 'Name of the company', required: true, }, { name: 'domains', type: 'string', description: 'List of domains for the company (e.g., ["example.com", "example.org"])', required: false, }, { name: 'description', type: 'string', description: 'Brief description of the company', required: false, }, ], template: 'Create a new company named {{name}}{{#if domains}} with domains {{domains}}{{/if}}{{#if description}}. Description: {{description}}{{/if}}.', }, { id: 'find-company-by-name', title: 'Find a company by name', description: 'Search for a company in Attio using its name', category: 'companies', parameters: [ { name: 'name', type: 'string', description: 'Company name to search for', required: true, }, ], template: 'Find a company with the name {{name}}.', }, { id: 'update-company', title: 'Update company details', description: 'Update an existing company record in Attio', category: 'companies', parameters: [ { name: 'companyId', type: 'string', description: 'ID of the company to update', required: true, }, { name: 'name', type: 'string', description: 'New name for the company', required: false, }, { name: 'domains', type: 'string', description: 'New domains for the company', required: false, }, { name: 'categories', type: 'string', description: 'New categories for the company', required: false, }, { name: 'description', type: 'string', description: 'New description for the company', required: false, }, ], template: 'Update the company with ID {{companyId}}{{#if name}} to change its name to {{name}}{{/if}}{{#if domains}}, update its domains to {{domains}}{{/if}}{{#if description}}, and update its description to "{{description}}"{{/if}}.', }, { id: 'add-note-to-company', title: 'Add a note to a company', description: 'Add a note to an existing company record in Attio', category: 'companies', parameters: [ { name: 'companyId', type: 'string', description: 'ID of the company to add a note to', required: true, }, { name: 'title', type: 'string', description: 'Title of the note', required: true, }, { name: 'content', type: 'string', description: 'Content of the note', required: true, }, ], template: 'Add a note titled "{{title}}" with content "{{content}}" to the company with ID {{companyId}}.', }, ]; export default companiesPrompts;

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/kesslerio/attio-mcp-server'

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