Skip to main content
Glama

SafetyChain MCP by usefulapi

Get CAPA attachments

safetychain_get_capa_attachments
Read-only

List a CAPA's attachments (name, extension, link, creator, date). The id is the GUID Id from safetychain_search_capas. GET /clientapis/capamanagement/v1.0/capa/{id}/attachments.

Input Schema

NameRequiredDescriptionDefault
idYesCAPA id (GUID)
pageNoPage number, from 1 (default 1).
page_sizeNoRows per page (default 50, max 200).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so safety is covered. The description adds the exact REST path and the field set returned, but says nothing about pagination behavior in the response (total counts, whether page/page_size matter), leaving a small gap.

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?

Two sentences: the first front-loads what is returned, the second supplies the id provenance and endpoint. No redundant restatement of 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?

With no output schema, describing the returned fields (name, extension, link, creator, date) is exactly the right compensation. It is nearly complete for a simple read tool; only pagination semantics for the response are unaddressed.

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 the baseline is 3; the description earns an extra point by clarifying that `id` is the `Id` GUID obtained from safetychain_search_capas, which the schema only calls 'CAPA id (GUID)'. Pagination params are left entirely to 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?

States a specific verb and resource ('List a CAPA's attachments') and enumerates the returned fields, which cleanly separates it from siblings like get_capa_linked_records and get_capa_tasks.

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 explicitly tells the agent where the required id comes from ('the GUID `Id` from safetychain_search_capas'), which is real routing guidance. It stops short of stating when not to use this tool or what to use if attachments are all you need alongside other CAPA sub-resources.

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.