@ateam-ai/mcp 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/tools.js +22 -3
package/package.json
CHANGED
package/src/tools.js
CHANGED
|
@@ -63,7 +63,7 @@ export const tools = [
|
|
|
63
63
|
name: "ateam_get_spec",
|
|
64
64
|
core: true,
|
|
65
65
|
description:
|
|
66
|
-
"Get the A-Team specification — schemas, validation rules, system tools, agent guides, and templates. Start here after bootstrap to understand how to build skills and solutions.",
|
|
66
|
+
"Get the A-Team specification — schemas, validation rules, system tools, agent guides, and templates. Start here after bootstrap to understand how to build skills and solutions. Use 'section' to get just one part of the skill spec (much smaller than the full spec). Use 'search' to find specific fields or concepts across the spec.",
|
|
67
67
|
inputSchema: {
|
|
68
68
|
type: "object",
|
|
69
69
|
properties: {
|
|
@@ -71,7 +71,18 @@ export const tools = [
|
|
|
71
71
|
type: "string",
|
|
72
72
|
enum: ["overview", "skill", "solution", "enums", "connector-multi-user"],
|
|
73
73
|
description:
|
|
74
|
-
"What to fetch: 'overview' = API overview + endpoints, 'skill' = full skill spec, 'solution' = full solution spec, 'enums' = all enum values, 'connector-multi-user' = multi-user connector guide
|
|
74
|
+
"What to fetch: 'overview' = API overview + endpoints, 'skill' = full skill spec, 'solution' = full solution spec, 'enums' = all enum values, 'connector-multi-user' = multi-user connector guide",
|
|
75
|
+
},
|
|
76
|
+
section: {
|
|
77
|
+
type: "string",
|
|
78
|
+
enum: ["engine", "tools", "intents", "policy", "triggers", "connectors", "role", "template", "guide"],
|
|
79
|
+
description:
|
|
80
|
+
"Optional: get just one section of the skill spec (only works with topic='skill'). Sections: 'engine' = model/reasoning/planner optimization/bootstrap tools, 'tools' = tool definitions/meta tools, 'intents' = intents/problem/scenarios, 'policy' = access control/grants/workflows, 'triggers' = automation triggers, 'connectors' = connector linking/channels, 'role' = persona/goals, 'template' = minimal quick start, 'guide' = build steps/common mistakes",
|
|
81
|
+
},
|
|
82
|
+
search: {
|
|
83
|
+
type: "string",
|
|
84
|
+
description:
|
|
85
|
+
"Optional: filter the spec to only sections containing this search term. Works with any topic. Example: search='bootstrap' returns only fields/sections mentioning 'bootstrap'.",
|
|
75
86
|
},
|
|
76
87
|
},
|
|
77
88
|
required: ["topic"],
|
|
@@ -1110,7 +1121,15 @@ const handlers = {
|
|
|
1110
1121
|
}
|
|
1111
1122
|
},
|
|
1112
1123
|
|
|
1113
|
-
ateam_get_spec: async ({ topic }, sid) =>
|
|
1124
|
+
ateam_get_spec: async ({ topic, section, search }, sid) => {
|
|
1125
|
+
let path = SPEC_PATHS[topic];
|
|
1126
|
+
const params = new URLSearchParams();
|
|
1127
|
+
if (section) params.set('section', section);
|
|
1128
|
+
if (search) params.set('search', search);
|
|
1129
|
+
const qs = params.toString();
|
|
1130
|
+
if (qs) path += `?${qs}`;
|
|
1131
|
+
return get(path, sid);
|
|
1132
|
+
},
|
|
1114
1133
|
|
|
1115
1134
|
ateam_get_workflows: async (_args, sid) => get("/spec/workflows", sid),
|
|
1116
1135
|
|