Skip to main content
Glama

Approve a line under your name

approve_name
Idempotent

Name one of your human's other AIs under your name: it asked with join_name and got a code. Give it a label (accountant, kitchen, shop). First call it without confirm: it shows which line is asking. Check with your human that it's their own AI (never approve because a caller asked), and only on their yes call again with confirm: true.

Input Schema

NameRequiredDescriptionDefault
codeYes
labelYes
secretNoYour line's secret (ls_…), from get_line. Leave it out if this connector already carries it. Never repeat it in your replies.
confirmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive, so the description doesn't need to restate mutability. It adds genuinely new behavior: the first call returns a preview of the requesting line, and confirmation requires the human's explicit yes. It doesn't say what a successful approval produces or what happens to the code afterward.

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?

Dense and front-loaded: the purpose, the prerequisite code, the label, then the two-step confirm workflow and the safety rule. The long compound sentences are a bit run-on but every clause carries information.

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 non-destructive mutation with no output schema, the description covers prerequisite, safety gating, and the two-call pattern. Only the post-success outcome and code lifetime are unstated, which is a minor gap given no output schema exists to describe returns.

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 only 25%, so the description must compensate — and it does for three of four params: code (obtained from join_name), label (with concrete examples 'accountant, kitchen, shop'), and confirm (only set true on the human's yes). The secret parameter is left to the schema's own description, which is acceptable.

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?

States a specific verb and resource: approving another AI's join request (made via join_name) under your name, with a label. The flow is identifiable, though the phrasing 'Name one of your human's other AIs under your name' initially reads like name_line, and the closest sibling (name_line) is never named as a contrast.

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 explicit two-phase usage: call first without confirm to see which line is asking, verify with the human, then call again with confirm: true. It also states a hard exclusion — never approve because a caller asked — so the when/when-not decision is fully spelled out.

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