Skip to main content
Glama

Create agent instance

create_agent_instance

Register an instance of a service agent and mint its credential, for a runtime the withhuman CLI does not install (a service of yours speaking the Agent Approval Protocol). The answer carries the credential exactly once: hand it to whoever configures that runtime, because it cannot be read back. Personal agents' instances belong to the member who enrolls them through the CLI.

Input Schema

NameRequiredDescriptionDefault
nameYesA name for the instance, unique within the agent. Reviewers see it next to the agent's name.
metadataNoAny JSON object to store with the instance, such as a region or pod name.
agent_slugYesThe agent's slug, from list_agents.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare that this writes and is neither idempotent nor destructive. The description adds the critical operational trait that the credential is returned exactly once and cannot be read back, plus who must receive it. That is exactly the kind of context a schema cannot convey and it prevents an irreversible misstep.

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?

Three sentences, no filler, and the one-time credential caveat is front-loaded in sentence two where an agent will actually act on it. The middle clause 'for a runtime the withhuman CLI does not install (a service of yours speaking the Agent Approval Protocol)' is slightly dense but still earns its place as the scoping condition.

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?

No output schema exists, and the description compensates by stating precisely what the response contains (the credential, once). It leaves unstated what happens on a repeated call for the same instance and how the credential is later revoked, both relevant given revoke_agent_credential sits among the siblings.

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% and every parameter (name, metadata, agent_slug) is documented inline, so the schema carries the semantics. The description reinforces agent_slug only indirectly via the 'service agent' wording and adds no new meaning about metadata or naming rules. Baseline 3 is appropriate.

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 opens with a precise verb+resource pair: 'Register an instance of a service agent and mint its credential.' It also scopes the operation to runtimes the CLI doesn't install, which separates it from create_agent and update_agent_instance without the agent needing to inspect schemas.

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?

It names both the target case (a runtime you operate yourself that speaks the Agent Approval Protocol) and the exclusion ('Personal agents' instances belong to the member who enrolls them through the CLI'). The agent knows immediately when this route applies and when to steer elsewhere.

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.