Skip to main content
Glama

SafetyChain MCP by usefulapi

List locations

safetychain_list_locations
Read-only

List locations (plants, sites, areas) of the SafetyChain tenant, with ids, names, enabled flags and created/modified dates. Filter by name. The API does not page: all matches come back (cut at limit). GET /clientapis/resourcemanagement/v1.0/locations.

Input Schema

NameRequiredDescriptionDefault
nameNoFilter by location name.
limitNoReturn at most this many rows (default 200, max 1000); the reply says how many were cut.
is_deletedNoOnly deleted (true) or not deleted (false) rows.
is_enabledNoOnly enabled (true) or disabled (false) rows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already carry readOnlyHint, openWorldHint and destructiveHint, so the safety profile is covered. The description adds genuinely useful context beyond that: the API does not page, all matches are returned, results are truncated at limit, and the reply reports how many rows were cut.

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 purpose and output shape, then filtering, then paging behavior and endpoint. No redundant text.

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?

With no output schema, the description still names the returned fields and explains the truncation and cut count, which is exactly the information an agent needs to call and interpret this read-only list tool correctly.

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%, so name, limit, is_deleted and is_enabled are already documented. The description adds value by clarifying the no-pagination truncation semantics of limit ('cut at limit'), which is more than the schema conveys.

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?

States a specific verb and resource ('List locations') plus the domain entities it covers (plants, sites, areas) and what each row contains (ids, names, enabled flags, created/modified dates), which sharply separates it from the singular safetychain_get_location sibling. The endpoint is included as well.

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

Usage Guidelines3/5

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

It implies usage by noting 'Filter by name' and that results are cut at limit, but it never states when to pick this over siblings such as safetychain_get_location or safetychain_list_resources, nor any exclusions. Adequate but leaves routing to inference.

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.