Skip to main content
Glama

bind_service_consumer

Bind an application namespace on a cluster as a consumer of managed services (the twin of ankra services consumers bind). A setup is always for named consumers, and the service's connection details are delivered for them. The application must be deployed to that namespace unless allow_planned is true. Pass expected_revision to change an existing binding; omit it to create one. Requires applications.deploy and clusters.operate.

Input Schema

NameRequiredDescriptionDefault
namespaceYesThe application's namespace on that cluster.
cluster_idYesCluster id (UUID) the application runs on.
local_onlyNotrue when this consumer's data must stay on its own cluster, so only a service on that cluster may serve it. Defaults to false.
allow_plannedNotrue to bind a namespace the application is not deployed to yet. Defaults to false.
application_idYesApplication id (UUID) from list_applications.
expected_revisionNoThe binding's current revision, to change an existing binding. Omit or 0 to create one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only declare the safety profile (readOnly=false, idempotent=false, destructive=false). The description goes well beyond by stating the effect on consumers ('the service's connection details are delivered for them'), the deployment prerequisite, the create-vs-update semantics, and the required permission scopes ('applications.deploy and clusters.operate'), which the agent cannot get from structured fields.

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?

Four sentences, front-loaded with the core action, each carrying distinct information (purpose, setup semantics, prerequisite, revision behavior, permissions). The CLI-twin parenthetical is the only element that does little work for an MCP agent.

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

Completeness4/5

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

For a 6-parameter mutation with no output schema, the description covers prerequisites, side effects, create-vs-update behavior, and auth requirements. Remaining gaps are minor: no return-value guidance and no statement about what happens to an existing binding when expected_revision conflicts.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description still adds workflow-level meaning to two parameters – allow_planned relaxes the deployment prerequisite, and expected_revision selects update-over-create – rather than just restating the schema's field descriptions.

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 with scope: 'Bind an application namespace on a cluster as a consumer of managed services.' An agent can distinguish it from list_service_consumers or unbind_service_consumer by the verb alone, though the description differentiates itself via a CLI twin ('ankra services consumers bind') rather than by naming the relevant sibling tools.

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

Usage Guidelines4/5

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

Gives clear preconditions ('The application must be deployed to that namespace unless allow_planned is true') and create-vs-update routing ('Pass expected_revision to change an existing binding; omit it to create one'). It does not explicitly point to unbind_service_consumer as the way to remove a binding, so the alternatives story is incomplete.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources