Skip to main content
Glama

show_swift_dependencies

Display the resolved dependencies of a Swift Package, choosing from text, dot, JSON, or flatlist formats for clear insights into package composition.

Instructions

Shows the resolved dependencies of a Swift Package.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNoOutput format (default: text)
verboseNoShow verbose output
outputPathNoPath to save output to a file
Behavior2/5

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

With no annotations, the description must carry the full burden of behavioral disclosure. It says 'Shows' but 'resolved dependencies' implies a possibly mutating resolution process, which is not disclosed. No mention of side effects, what happens with missing Package.swift, or whether network access is needed.

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?

The description is a single, front-loaded sentence with no wasted words. It effectively communicates the core purpose, earning a perfect score for conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description lacks essential context given no output schema and no annotations. It does not explain what 'resolved' means, what output formats look like, or how it relates to other Swift Package tools. This incompleteness could hinder correct tool selection.

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?

The input schema provides full descriptions for all three parameters (format, verbose, outputPath), so the description does not need to add much. However, the description offers no additional semantics about how these parameters affect the output, keeping this at baseline.

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?

The description clearly states the tool's purpose with a specific verb ('Shows') and resource ('resolved dependencies of a Swift Package'). It distinguishes itself from sibling tools like get_package_info by focusing specifically on dependency resolution.

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 description provides no guidance on when to use this tool versus alternatives like get_package_info or dump_swift_package. It does not mention any context, prerequisites, or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/r-huijts/xcode-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server