Skip to main content
Glama
validation-schemas.ts1.21 kB
import { resourceTypeProperty } from './common/properties.js'; export const getAttributesSchema = { type: 'object' as const, properties: { resource_type: resourceTypeProperty, record_id: { type: 'string' as const, description: 'Record ID to get attributes for (optional)', }, categories: { type: 'array' as const, items: { type: 'string' as const }, description: 'Attribute categories', }, fields: { type: 'array' as const, items: { type: 'string' as const }, description: 'Specific attribute field names', }, }, required: ['resource_type' as const], additionalProperties: false, examples: [ { resource_type: 'companies', categories: ['standard'], }, ], }; export const discoverAttributesSchema = { type: 'object' as const, properties: { resource_type: resourceTypeProperty, categories: { type: 'array' as const, items: { type: 'string' as const }, description: 'Attribute categories', }, }, required: ['resource_type' as const], additionalProperties: false, examples: [ { resource_type: 'people', categories: ['custom'], }, ], };

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