Skip to main content
Glama
Prime MCP Server

Prime MCP Server

by MikahDev

prime_list_attachments

Lists job attachments and filters them by job, allocation, attachment type, or creation date so you can find and manage the right files quickly.

Instructions

List attachments for jobs. Filter by job, allocation, or attachment type.

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": "prime_list_attachments"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (starting from 1)
job_idNoFilter by job ID
includesNoRelated resources to include: job, attachmentType, uploadedBy
order_byNoField to order by (e.g., "createdAt", "updatedAt")
per_pageNoItems per page (max 100)
order_dirNoSort directionDESC
allocation_idNoFilter by allocation ID
created_afterNoFilter attachments created after
created_beforeNoFilter attachments created before
attachment_type_idNoFilter by attachment type ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It implies a read operation but says nothing about pagination behavior (default 15, max 100), sort defaults, what "includes" does, auth requirements, or what the response contains, leaving an agent to reconstruct behavior from the schema alone.

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

Conciseness4/5

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

Two short sentences, front-loaded with the core action and then the filter scope. Nothing redundant, though it is arguably too terse for a ten-parameter listing tool.

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?

For a ten-parameter, paginated list tool with no annotations and no output schema, the description covers purpose but omits paging semantics, the includes expansion, and return shape. The rich schema compensates partially, leaving it adequate but with visible gaps.

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 the schema already documents all ten parameters including date bounds, ordering, and includes. The description only echoes the three ID filters, adding no syntax or interaction detail beyond structured fields, so baseline 3 applies.

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 plus resource ("List attachments") and scopes it to jobs. It implicitly separates the read operation from sibling writers like prime_create_attachment, but never names any sibling or explains how it differs from prime_get_attachment.

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?

The second sentence lists three filter dimensions, which hints at usage, but there is no explicit when-to-use/when-not-to-use guidance, no mention of when pagination or includes should be employed, and no routing to alternative tools.

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