Skip to main content
Glama

Agents: enroll

manage_agents_enroll
Destructive

Issue a one-time install command for an agent (valid 72 hours). Anyone who sees it can enrol an agent for your company until it is used. Changes Junction's own settings as the person asking, only as far as their role allows in the Junction portal. Tell the user what you are about to do and call this only after they agree. It answers with a preview first; show it, and only call again with confirm set to true after the user agrees. Company administrators only. Never pass a password, key or token; anything that needs one is done in the portal.

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": {
      "id": "<id>"
    },
    "name": "manage_agents_enroll"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesagent id
confirmNoset true only after the user has seen the preview this action answers with first and agreed
allow_hostsNodatabase servers the agent may reach: names, addresses or networks

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Adds substantial context beyond the annotations: the command is single-use, valid 72 hours, and anyone holding it can enrol an agent until consumed — a real security consequence that destructiveHint=true alone does not convey. It also discloses that changes are applied with the caller's own role permissions and that a preview/confirm handshake is required. It does not describe the response payload or what happens if confirm is omitted on the second call, leaving some behavior implied.

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?

Front-loads purpose and the 72-hour validity before the consent protocol and the admin/secret constraints, which is the right ordering. Every sentence carries operational weight, though the middle run-on sentence about Junction settings is harder to parse than the rest.

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 destructive, non-idempotent, single-parameter-required tool with no output schema, the definition covers timing, consent flow, authorization scope, and the security hazard of the issued command. The one notable gap is guidance on allow_hosts, which materially shapes what the enrolled agent can reach.

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 coverage is 100%, so all three parameters are already documented, and the description only paraphrases 'confirm' (agree after preview). 'id' and 'allow_hosts' — the latter controlling which database servers the agent may reach, a meaningful scoping decision — are never mentioned in the description, so no meaning is added beyond the schema. 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?

Opens with a specific verb and resource: 'Issue a one-time install command for an agent (valid 72 hours).' That is far more than a restatement of the name and immediately frames the output as a credential-like artifact. It does not name a sibling (e.g. manage_agents_create or manage_agents_revoke) to draw the boundary, so it stops short of a 5.

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 concrete preconditions: tell the user first, call only after they agree, company administrators only, never pass secrets. The two-step preview/confirm protocol is spelled out explicitly. It lacks explicit routing to alternative tools (create vs revoke vs enroll), which is the main missing piece.

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