Skip to main content
Glama
mikimatsub

swsd-mcp

by mikimatsub

swsd_list_sites

Read-onlyIdempotent

Fetch SWSD office/branch locations to validate site names before creating or updating incidents. Returns site ID, name, location code, description, and time zone.

Instructions

List SWSD sites (physical office/branch locations). Returns id, name, location code, description, time_zone. Use this to validate site_name before incident write tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (1-indexed).
queryNoOptional name substring filter.
per_pageNoResults per page (1-100).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
sitesYes
paginationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.3.1
    • addedInput schema / properties / query / maxLength
      Added value: +2000
  2. First observedv2.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false, which cover the safety profile. The description adds value by stating the exact fields returned and the purpose of validation, providing context beyond the annotations. It does not contradict annotations and adds meaningful behavioral context about the output shape and intent.

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, all information-dense with zero filler. The purpose and return fields are front-loaded, the use case is one clear sentence. Every sentence earns its place without redundancy or boilerplate.

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?

For a list tool with an output schema and only optional parameters, the description covers purpose, return shape, and a concrete usage scenario. Pagination is handled by schema defaults, and the read-only nature is captured by annotations. Nothing an agent needs to invoke it correctly 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 all three parameters (page, query, per_page) are already well-documented with types, defaults, and constraints. The description does not add any parameter-specific meaning beyond reinforcing the 'query' as a substring filter. Baseline of 3 is appropriate when the schema carries the full parameter documentation burden.

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 action ('List') on a clear resource ('SWSD sites') with explicit detail on the returned fields and a stated use case. It clearly distinguishes itself from the many other 'list' tools in the sibling set by narrowing to physical office/branch locations. No ambiguity about what this tool does.

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?

Provides explicit when-to-use guidance: 'Use this to validate site_name before incident write tools.' This is clear and actionable. It does not explicitly name alternatives or when not to use it, but the use case is specific enough to guide an agent. A small deduction for not mentioning alternatives, though the context signals show many list tools exist.

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