Skip to main content
Glama

Discover GitLab Tools

gitlab_discover_tools
Read-onlyIdempotent

Search the full tool registry to find available GitLab tools by query, toolset, or capability, and see whether each tool is currently enabled without changing session state.

Instructions

Search the complete tool registry without mutating session state. Results explain whether each tool is currently enabled.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gitlab_discover_tools"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
toolsetNo
capabilityNo
include_disabledNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.7.0
    • removedInput schema / properties / query / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / query / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / toolset / enum
      Previous value: -[
      -  "all",
      -  "core",
      -  "projects",
      -  "repository",
      -  "merge-requests",
      -  "issues",
      -  "pipelines",
      -  "ci-catalog",
      -  "ci-variables",
      -  "dependency-proxy",
      -  "wiki",
      -  "milestones",
      -  "releases",
      -  "labels",
      -  "groups",
      -  "work-items",
      -  "webhooks",
      -  "identity",
      -  "graphql"
      -]New value: +[
      +  "all",
      +  "core",
      +  "projects",
      +  "repository",
      +  "merge-requests",
      +  "issues",
      +  "pipelines",
      +  "ci-catalog",
      +  "ci-variables",
      +  "dependency-proxy",
      +  "wiki",
      +  "milestones",
      +  "releases",
      +  "labels",
      +  "groups",
      +  "work-items",
      +  "webhooks",
      +  "identity",
      +  "vulnerabilities",
      +  "graphql",
      +  "api",
      +  "orbit"
      +]
  2. First observedv1.6.1

TDQS

B3.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered; the description adds the useful point that results indicate whether each tool is enabled. It says nothing, however, about default inclusion of disabled tools, the default limit/pagination of 20 (max 100), or the result shape, despite there being no output schema to carry that burden.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with no filler, and the core action is front-loaded before the result-shape detail. It is efficiently written, though its brevity is the same trait that leaves the parameters unexplained.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter discovery tool with zero schema description coverage and no output schema, the definition is under-specified: an agent cannot learn how filters combine, how many results come back, or whether disabled tools appear by default. The annotations partially cover the read-only nature, but the operational details an agent needs to call this correctly are missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for all five parameters, so the description must compensate and does not: query, toolset, capability, limit, and include_disabled are never mentioned. The enum values for toolset and capability are self-describing to a degree, but their filtering semantics (OR vs AND with query, what 'all' means) and the default of include_disabled=true are left entirely undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource ('Search the complete tool registry') and clarifies that results report per-tool enablement, which tells an agent this is a discovery/introspection tool, not a GitLab operation. It does not explicitly contrast itself with the sibling action tools, but the purpose is unmistakable given the name and the stated output semantics.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer the tool is for finding tools, but there is no statement of when to prefer it over calling a known sibling directly, nor any exclusions or prerequisites. The 'without mutating session state' clause hints at a safe, inspect-only context but is not framed as guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools