Skip to main content
Glama

Get hosts using a credential

termix_credentials_get_hosts_using_credential
Read-onlyIdempotent

Retrieve a list of hosts linked to a credential by passing its ID. Use this to identify which hosts rely on a given credential.

Instructions

Get hosts using a credential. Retrieves a list of hosts that are using a specific credential.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

The description only restates the tool's basic behavior and adds nothing beyond the annotations already declaring readOnlyHint=true and destructiveHint=false. It does not disclose response behavior, empty-result handling, or any other behavioral nuance.

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

Conciseness2/5

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

The two sentences are redundant: 'Get hosts using a credential' and 'Retrieves a list of hosts that are using a specific credential' say essentially the same thing. The first sentence repeats the title without adding value.

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?

The tool is simple: one required parameter, read-only annotations, and no output schema. The description names the output as a list of hosts, which is minimally adequate for invocation, but it does not describe what host fields are returned or any edge-case behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema provides no description for the id parameter (0% coverage). The description's phrase 'using a specific credential' hints that id refers to a credential ID, but it never explicitly defines the parameter or its format. This falls short of compensating for the missing schema documentation.

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 uses a specific verb ('Retrieves a list of hosts') tied to a clear resource ('hosts that are using a specific credential') and is clearly distinct from credential-list and credential-detail tools. However, it does not explicitly contrast itself with sibling tools like get_all_credentials or get_specific_credential, so it stops short of full differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance about when to use this tool versus alternatives such as listing all credentials or fetching a specific credential. The intended use is implied by the title, but nothing is stated.

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