Skip to main content
Glama

Adapter setup

adapter_setup
Read-onlyIdempotent

Get the install command and a verified minimal integration snippet for a specific Guard adapter by providing a language and framework. Use it when you need working setup code for one adapter.

Instructions

Get the install command and a verified minimal integration for one Guard adapter.

Use this when you know the language and web framework and want working setup code. Use ecosystem instead to survey every adapter, and wire_agent to set up telemetry.

Returns language, engine (package, install command, release_status and conformance status of the engine the adapter depends on) and adapter (install command, release_status, its role in the framework, the Python adapter it mirrors, and a quick-start snippet taken verbatim from the adapter's README). Snippets reflect the README at the time this server was built; when release_status is untagged, re-check the repository. An unknown language or framework returns an object with an error key instead of raising. Read-only static data, works without the Guard libraries installed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
languageYesThe language of the adapter. One of python, go, typescript, php or rust. Any other value returns an error object
frameworkYesThe adapter slug for that language, or the adapter package name. An unknown slug returns an error object listing the valid ones

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations cover the safety profile (read-only, idempotent, non-destructive, closed-world), and the description goes well beyond them: it discloses provenance/staleness of snippets ('reflect the README at the time this server was built; when release_status is untagged, re-check the repository'), error behavior instead of raising, and that no Guard libraries need be installed. That is exactly the extra context annotations cannot carry.

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-loaded with the core action, then usage routing, then return details. Every sentence carries information, though the multi-line return inventory overlaps with the output schema that already exists, so it is slightly longer than strictly necessary.

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

Completeness5/5

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

An agent has everything needed: what it returns, when it errors, how fresh the data is, and that no dependencies are required. Because an output schema exists, the extra return prose is bonus rather than obligation, and nothing material is missing.

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 description coverage is 100%, so language and framework are already fully documented, including allowed values and error-on-unknown behavior. The description only reinforces that the pair selects a single adapter and that unknown values yield an error object, which duplicates rather than extends the schema.

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?

Specific verb+resource: 'Get the install command and a verified minimal integration for one Guard adapter.' The scope ('one Guard adapter', keyed by language+framework) is stated precisely and clearly distinguishes it from the survey tool (ecosystem) and the telemetry tool (wire_agent).

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?

Explicit when-to-use ('when you know the language and web framework and want working setup code') plus named alternatives with their selecting conditions: 'Use ecosystem instead to survey every adapter, and wire_agent to set up telemetry.' Nothing left to inference.

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