Skip to main content
Glama

Leashgate

import_agents

Register several AI agents in Leashgate at once, before they send their first call, so each gets its own name, category, budget and history. Use it after scanning a codebase or infrastructure for code that calls an AI provider (OpenAI, Anthropic, Gemini...): one entry per agent, service or worker. Then point each agent at the address returned.

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": {
      "agents": "<agents>"
    },
    "name": "import_agents"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose that this is a mutating bulk operation that creates named agents with budgets and history, and that addresses are returned for later configuration, but it says nothing about authentication needs, duplicate-name handling, idempotency, atomicity on partial failure, or rate limits.

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 ordered action → usage → follow-up, with the core operation front-loaded. Each sentence adds something, though the Leashgate branding phrase and parenthetical provider list are slightly incidental.

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

Completeness3/5

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

There is no output schema and no annotations, so the description must cover behavior and returns. It gestures at returned addresses but does not describe the response shape, duplicate handling, or failure behavior — meaningful gaps for a bulk-create tool.

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?

The single parameter is an array of agent objects, and the description adds real meaning by specifying cardinality ('one entry per agent, service or worker') and tying it to the scan workflow. However, it adds nothing about required fields or defaults beyond what the item schema's own field descriptions already state.

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?

The description opens with a specific verb and resource — 'Register several AI agents in Leashgate at once' — and clarifies the bulk/one-shot scope. It conveys the result (each agent gets its own name, category, budget and history), which no sibling tool does, though it never explicitly contrasts itself with the existing siblings.

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?

It gives a clear trigger: use it after scanning a codebase or infrastructure for AI-provider calls, with one entry per agent, service or worker. It stops short of naming when not to use it or pointing at an alternative for single-agent registration or later edits.

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.