Skip to content

Commit 82a8dfc

Browse files
authored
tweak domains and systems description (#23)
1 parent b3cf6a1 commit 82a8dfc

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/cmd/root.go

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,15 +136,23 @@ var rootCmd = &cobra.Command{
136136

137137
// Register Domains
138138
s.AddTool(
139-
mcp.NewTool("domains", mcp.WithDescription("Get all the domains in the opslevel account. Domains are objects in opslevel that represent a top-level abstraction used to organize and categorize software systems.")),
139+
mcp.NewTool("domains", mcp.WithDescription(
140+
`Get all the domains in the opslevel account.
141+
Domains are comprised of child Systems which contain Components.
142+
Used to represent large business units or verticals within OpsLevel.
143+
`)),
140144
func(ctx context.Context, req mcp.CallToolRequest) (*mcp.CallToolResult, error) {
141145
resp, err := client.ListDomains(nil)
142146
return newToolResult(resp.Nodes, err)
143147
})
144148

145149
// Register Systems
146150
s.AddTool(
147-
mcp.NewTool("systems", mcp.WithDescription("Get all the systems in the opslevel account. Systems are objects in opslevel that represent a grouping of services or components that act together to serve a business function or process.")),
151+
mcp.NewTool("systems", mcp.WithDescription(
152+
`Get all the systems in the opslevel account.
153+
Systems are made up of Components that combine to form a unified whole or function.
154+
eg a “Checkout” System that combines a cart and payment component.
155+
`)),
148156
func(ctx context.Context, req mcp.CallToolRequest) (*mcp.CallToolResult, error) {
149157
resp, err := client.ListSystems(nil)
150158
return newToolResult(resp.Nodes, err)

0 commit comments

Comments
 (0)