Skip to main content
Glama

Connect an agent to a Wiro project

bind_agent_project
DestructiveIdempotent

Sets the Wiro project a deployed agent uses for its video and voice model runs, previewing the change first and applying it only after confirmation.

Instructions

Set the Wiro project a deployed agent's video and voice skills run models with (the Wiro AI Models credential, "wiro"), with no key in this chat. The wiro connector, which gives the agent its own model tools (wiro__*), always runs with this same project, and connecting it with connect_agent_connector binds its project here the same way; this tool does not connect that connector. Without project_id it takes the project of this connection; project_id takes one from list_projects. Call it without confirm first: it shows the project, what it replaces, whether a running agent restarts and which wallet pays for the agent's model runs, and changes nothing. After the user agrees, repeat the call as its nextAction shows, with confirm: true. Connecting the same project again changes nothing and does not restart the agent; if the project's secret changed, restart the agent with control_agent. On a team agent this needs a team admin or the person who deployed it.

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": {
      "agent_guid": "<agent_guid>"
    },
    "name": "bind_agent_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNofalse (default) only shows what would change. true connects the project.
agent_guidYesThe deployed agent's guid, from list_my_agents.
project_idNoThe id of a project, as a string, from list_projects. Leave it out for the project of this connection.

Output Schema

NameRequiredDescriptionDefault
notesYes
stateYes
walletNoWhich wallet pays for the model runs the agent starts.
appliedNo1 when the stored project changed, 0 when it was already this one.
projectYes
restartNoscheduled: a running agent restarts with the project. none: nothing changed, or the agent is not running and reads it at its next start. failed: the project is saved, but the running agent needs control_agent restart.
replacesYes
warningsYes
agentGuidYes
nextActionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.5.3
    • addedOutput schema / properties / applied / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / applied / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / nextAction / properties / arguments / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. Addedv1.5.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and idempotentHint=true, but the description goes well beyond them: the default call is a non-mutating preview showing what gets replaced, whether a running agent restarts, and which wallet pays; re-binding the same project is a no-op with no restart; a changed secret requires a control_agent restart; no key is handled in chat; team agents need a team admin or the deployer. That is unusually rich behavioral context for a destructive mutation.

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?

Well front-loaded: purpose first, then the connector disambiguation, then the confirm protocol, then edge cases and permissions. However, the opening sentence is a run-on with stacked parentheticals ('(the Wiro AI Models credential, "wiro"), with no key in this chat') that costs a re-read, and the connector tangent appears before the core call protocol.

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

Completeness5/5

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

An output schema exists, so return values need not be explained, yet the description still tells the agent what the preview surfaces (project, what it replaces, restart, paying wallet). Combined with the confirm protocol, idempotency note, restart path and permissions, nothing an agent needs to invoke this destructive tool safely is missing.

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%, so all three parameters are already documented, including confirm's default and project_id's format and source. The description reinforces the confirm preview-vs-apply flow and the omitted-project_id default, but adds little syntax or meaning the schema does not already carry. Baseline 3 applies.

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?

States a specific verb and resource ('Set the Wiro project' that the deployed agent's model skills run with) and explicitly carves out the sibling it is not: 'The wiro connector ... connecting it with connect_agent_connector binds its project here the same way; this tool does not connect that connector.' An agent can distinguish this from connect_agent_connector without opening either schema.

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?

Gives an explicit two-step protocol: 'Call it without confirm first ... and changes nothing. After the user agrees, repeat the call as its nextAction shows, with confirm: true.' It also names where project_id comes from (list_projects), the default when omitted, the restart path (control_agent) and the permission requirement on team agents.

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