Skip to main content
Glama

allow_secret_egress_host

Idempotent

Authorize a host to receive workspace secret values for payloads bound to it via validated, audited, idempotent grants.

Instructions

Trust a host with this workspace's secret values (idempotent). A listed host receives the value of every secret a payload bound for it names, so this needs secret:read as well as secret:admin. The host is a lowercase hostname or IPv4 address with no scheme, port, path or wildcard, and must be inside the instance ceiling when the operator set one. Audited.

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": {
      "host": "<host>"
    },
    "name": "allow_secret_egress_host"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYese.g. hooks.example.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the idempotency and non-destructive profile, and the description adds genuinely non-obvious behavior: the security consequence (the host receives the value of every secret named by a payload), the two required permission scopes, the instance-ceiling gate, and that the action is audited. That is substantial context beyond the structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the operation and its idempotency, then permissions, then format constraints and audit status. Every clause carries information; nothing is redundant with the title or annotations.

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 one-parameter mutation with no output schema, the description covers purpose, required scopes, hostname format, ceiling eligibility, and audit status — everything needed to call it correctly. It does not say what happens when the host is outside the ceiling (error vs. silent rejection), which is the only notable gap.

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 100% and the parameter count is one, so the baseline is 3. The description meaningfully exceeds it by adding validation semantics absent from the schema: 'lowercase hostname or IPv4 address with no scheme, port, path or wildcard' — the schema only offers 'e.g. hooks.example.com'.

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 specific verb+resource: it 'trusts' a host 'with this workspace's secret values', which unambiguously distinguishes it from the sibling revoke_secret_egress_host and from list_secret_egress_hosts. An agent can tell what operation this performs without opening the schema.

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 states the condition under which a host actually receives values ('A listed host receives the value of every secret a payload bound for it names'), the prerequisite scopes ('secret:read as well as secret:admin'), and an eligibility constraint ('must be inside the instance ceiling when the operator set one'). It does not explicitly name revoke_secret_egress_host as the inverse, but the context is clear enough to route correctly.

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

Deploy Server

Other Tools