Skip to main content
Glama
Nativelink MCP Server

Nativelink MCP Server

Official
by TraceMachina

get-bazel-config

Generates Bazel configuration for your project type and enables remote cache, remote execution, and metrics with a Nativelink server URL to support build setup.

Instructions

Generate optimal Bazel configuration for Nativelink

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectType": "<projectType>"
    },
    "name": "get-bazel-config"
  }
}

Input Schema

NameRequiredDescriptionDefault
featuresNoFeatures to enable: remote_cache, remote_execution, metrics
projectTypeYesType of project
nativelinkUrlNoNativelink server URL (defaults to cloud)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It does not disclose whether the result is returned as text or written to a file (e.g. a .bazelrc), whether existing config is overwritten, or whether a live Nativelink server must be reachable. 'Optimal' is unexplained and asserts a quality claim rather than a behavior.

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?

A single front-loaded sentence with no filler. It is efficient, but the terseness edges into under-specification for a tool with no annotations and no output schema.

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?

With no annotations and no output schema, the description should explain what the tool produces and whether it mutates project files. Instead it supplies only a one-line purpose, leaving the agent unable to predict the result of invoking it.

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

Parameters3/5

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

Schema description coverage is 100% and each parameter carries its own description and enum, so the schema already does the work. The description adds no meaning about how projectType or features influence the generated configuration, so baseline 3 applies.

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?

States a specific verb and resource: 'Generate ... Bazel configuration for Nativelink'. An agent can distinguish this from generate-deployment-config because the target artifact is explicitly a Bazel configuration, though the description does not name or route to that sibling.

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

Usage Guidelines2/5

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

No when-to-use, when-not-to-use, or alternatives are given. The agent must infer that this applies when setting up a Bazel project against Nativelink, and cannot tell from the text how it differs from generate-deployment-config or setup-watch-and-build.

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