- Greenhouse: 29 tools (was 18), added interviews, scorecards, organization - Lever: 26 tools (was 13), added tags, sources, expanded opportunities/postings - Loom: 25 tools (was 14), added analytics, privacy, search, workspace members All servers now have: - main.ts with env validation & graceful shutdown - server.ts with lazy-loaded tool modules - Zod validation on all inputs - Rich tool descriptions (when/why to use) - Pagination support on all list_* tools - Updated package.json (bin field, updated deps) - Updated README with coverage manifests - Old index.ts renamed to index.ts.bak - Zero TypeScript errors (npx tsc --noEmit verified)
23 lines
698 B
TypeScript
23 lines
698 B
TypeScript
import { z } from 'zod';
|
|
import type { DatadogClient } from '../client/datadog-client.js';
|
|
|
|
export default [
|
|
{
|
|
name: 'datadog_list_service_level_objectives',
|
|
description: 'Lists SLOs (Service Level Objectives) from Datadog.',
|
|
inputSchema: {
|
|
type: 'object' as const,
|
|
properties: {
|
|
ids: { type: 'string' },
|
|
query: { type: 'string' },
|
|
offset: { type: 'number' },
|
|
limit: { type: 'number', default: 100 },
|
|
},
|
|
},
|
|
handler: async (input: any, client: DatadogClient) => {
|
|
const result = await client.get('/slo', input);
|
|
return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] };
|
|
},
|
|
},
|
|
];
|