Skip to main content
Glama

PocketSmith (read-only)

list_attachments

Read-onlyIdempotent

Lists attachments. Requires either user_id or transaction_id. When filtering by user, optionally return only unassigned attachments.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_attachments"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idNoList all attachments for this user.
unassignedNoSet to true to return only unassigned attachments (user_id filter only).
transaction_idNoList attachments for this transaction.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds a genuinely non-obvious behavioral constraint — that one of user_id or transaction_id must be supplied even though the schema declares zero required parameters — and that the unassigned flag only applies in the user mode. It does not describe return shape, ordering, or pagination.

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 short sentences, zero filler, with the hard precondition front-loaded before the optional refinement. Nothing is repeated from the title beyond the necessary verb-resource pair.

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?

For a simple read-only list tool with rich annotations, full schema coverage, and no output schema, the definition covers the one thing an agent could get wrong — which parameters must be supplied together. Missing only secondary details like result ordering, pagination, or what happens if neither filter is passed.

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 would be 3. The description earns a bump by encoding an either/or requirement across the three parameters that the schema does not express (required is empty), which is meaningful invocation guidance beyond the field descriptions.

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?

States a specific verb and resource (lists attachments) and immediately narrows the scope with its filtering modes, which separates it from get_attachment and the create/delete_attachment siblings. It does not explicitly name any sibling, but the list-vs-get distinction is clear from the verb.

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?

Gives concrete selection criteria between the two modes: use user_id for a user's attachments, transaction_id for a transaction's. It stops short of naming an alternative tool or stating when this tool is the wrong choice, so it falls below full when/when-not guidance.

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.

Resources