Skip to main content
Glama

create_capability_binding

Save a capability binding for a provider/profile pair, returning a binding ID for use in Algenta. Specify scope and execution owner to control visibility and runtime.

Instructions

Save one capability binding for a provider/profile pair and return it with its binding_id. scope (default workspace) decides who can use it, execution_owner decides where executions run (algenta_managed on the engine, client_managed in the customer app or adapter path), and config carries the profile's credentials and options. Find valid provider_id/profile_id pairs with list_capability_providers, then call discover_capability_binding to publish the binding's capabilities and test_capability_binding to verify. Persists the binding.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNoVisibility scope; defaults to workspace.
configNoProfile credentials and options.
scope_refNoOptional concrete user/workspace id the scope binds to.
profile_idYesProfile id within the provider.
provider_idYesProvider id from list_capability_providers.
binding_nameYesHuman-readable binding name.
execution_ownerNoWhere executions run; defaults to the profile's default_execution_owner.
customer_metadataNoOptional caller metadata stored with the binding.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv0.1.3
    • addedInput schema / properties / binding_name / description
      Added value: +"Human-readable binding name."
    • addedInput schema / properties / config / description
      Added value: +"Profile credentials and options."
    • addedInput schema / properties / customer_metadata / description
      Added value: +"Optional caller metadata stored with the binding."
    • addedInput schema / properties / execution_owner / description
      Added value: +"Where executions run; defaults to the profile's default_execution_owner."
    • addedInput schema / properties / profile_id / description
      Added value: +"Profile id within the provider."
    • addedInput schema / properties / provider_id / description
      Added value: +"Provider id from list_capability_providers."
    • addedInput schema / properties / scope / description
      Added value: +"Visibility scope; defaults to workspace."
    • addedInput schema / properties / scope_ref / description
      Added value: +"Optional concrete user/workspace id the scope binds to."
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already indicate the tool is not read-only (readOnlyHint: false), not idempotent (idempotentHint: false), and not destructive (destructiveHint: false). The description goes beyond this by stating 'Persists the binding' at the end, which reinforces the non-transient nature. It also explains the execution_owner semantics (algenta_managed vs client_managed) and their implications for where executions run, adding value beyond annotations. The description does not contradict annotations, but could add more about failure modes or side effects beyond persistence.

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

Conciseness3/5

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

The description is dense but somewhat long, fitting key points into three sentences. The first sentence front-loads the primary purpose and the key parameters. The workflow guidance in the second sentence is valuable but adds length. The final note 'Persists the binding' is a bit redundant given the opening 'Save'. It is not rambling, but it could be tightened without losing meaning.

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?

The tool is a create operation with 8 parameters, nested config objects, and no output schema. The description covers the main parameters, explains the workflow, and notes the persistence. It does not specify the return format (beyond 'return it with its binding_id') or error conditions, but given the complexity and no output schema, it is fairly complete. The omission of validation details for config or scope_ref is a minor gap, but overall the description is sufficient for an agent to proceed.

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 schema already documents parameter descriptions. The description adds semantic clarity by explaining the roles of scope ('decides who can use it') and execution_owner ('decides where executions run'), as well as config ('the profile's credentials and options'). This goes beyond raw field names. However, with 8 parameters and 100% schema coverage, the description's contributions are helpful but not exhaustive for every parameter (e.g., binding_name and customer_metadata are not elaborated). Given the high coverage, a 4 is warranted over baseline 3.

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

Purpose5/5

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

The description uses a specific verb 'Save' with the resource 'capability binding' and its scope. It explicitly distinguishes itself from sibling tools by naming list_capability_providers, discover_capability_binding, and test_capability_binding as related but distinct operations. This makes the purpose unmistakable.

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

Usage Guidelines5/5

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

The description provides an explicit workflow: first find valid pairs with list_capability_providers, then use discover_capability_binding to publish vertices and test_capability_binding to verify. It also explains when to use this tool (creating a binding) versus related tools. The prerequisites and follow-up actions are clearly stated, leaving no ambiguity.

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