Verified Commit 153d09d6 authored by Michael Angelo Rivera's avatar Michael Angelo Rivera 2️⃣ Committed by GitLab
Browse files

refactor(server): collapse the MCP tool registries and drop the inline DSL

parent 8926bbc8
Loading
Loading
Loading
Loading
+6 −7
Changes for config/prompts/remote/invoke_command.yml: 6 added lines, 7 removed lines.
Original line number Diff line number Diff line
name: invoke_command
version: 1.0.2
version: 1.1.0
description: >-
  Invoke a discovered Orbit command for code structure, relationship traversal,
  blast radius, cross-entity or cross-project joins, or grouped aggregation. Do
  not use this for single-entity lookups, simple lists or counts, or writes that
  ordinary GitLab tools handle directly. This is a wrapper tool: keep
  only command_name and parameters at the top level, and put downstream command
  inputs inside parameters.
  Run an Orbit command found with list_commands. Use it for code structure,
  relationship traversal, blast radius, joins across entities or projects, and
  grouped counts. Do not use it for one known entity, a plain list or count, or
  writes that normal GitLab tools handle. Keep only command_name and parameters
  at the top level. Put the command's own inputs inside parameters.
+7 −8
Changes for config/prompts/remote/list_commands.yml: 7 added lines, 8 removed lines.
Original line number Diff line number Diff line
name: list_commands
version: 1.1.2
version: 1.2.0
variables: [commands]
description: >-
  Discover Orbit commands for GitLab relationship and code-structure questions.
  Use Orbit for callers, definitions, imports, dependency or blast-radius analysis,
  relationship traversal, cross-entity or cross-project joins, grouped or
  multi-entity aggregation, and repository maps. Do not use Orbit for a lookup,
  list, or simple count about one known MR, project, or user, or for writes; use
  ordinary GitLab tools instead. Call this before invoke_command to get
  command input schemas.
  Discover Orbit commands for questions about GitLab relationships and code
  structure. Use Orbit for callers, definitions, imports, blast radius,
  relationship traversal, joins across entities or projects, grouped counts,
  and repository maps. Do not use Orbit for one known MR, project, or user, for
  a plain list or count, or for writes. Use the normal GitLab tools for those.
  Call this before invoke_command to get each command's input schema.


  Available commands:
+4 −5
Changes for config/prompts/remote/tools/get_graph_schema.yml: 4 added lines, 5 removed lines.
Original line number Diff line number Diff line
name: get_graph_schema
version: 1.0.1
version: 1.1.0
summary: Return graph nodes, edges, and expanded node properties.
description: >-
  List the GitLab Orbit schema. Returns the available nodes and
  edges with their source/target types. Pass expand_nodes (or its alias
  entity_types) with specific type names to get their filterable properties
  and types before composing a query_graph call.
  Return the graph schema: node types, edge types, and their source and target
  types. Pass expand_nodes (alias entity_types) with the node types you plan to
  query to get their properties and relationships.
+0 −6
Changes for config/prompts/remote/tools/get_graph_schema_v2.yml: 0 added lines, 6 removed lines.
Original line number Diff line number Diff line
name: get_graph_schema_v2
version: 1.0.0
description: >-
  Return the graph schema. Pass expand_nodes (or its alias entity_types) with
  the node types relevant to the user's question to include their properties
  and relationships.
+2 −2
Changes for config/prompts/remote/tools/get_query_dsl.yml: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
name: get_query_dsl
version: 1.0.0
summary: Return the query_graph JSON DSL grammar and version.
version: 1.1.0
summary: Return the query_graph JSON DSL grammar and version. Call before query_graph.
description: >-
  Return the query_graph JSON DSL grammar and version. Use this before
  composing query_graph parameters.
Loading