spm-search-mcp
Server Quality Checklist
Latest release: v0.6.1
- Disambiguation5/5
Each tool has a distinct and non-overlapping purpose: search_swift_packages finds packages, get_package_readme fetches details for a specific package, and list_search_filters provides metadata about valid search parameters. There is no ambiguity about which tool to use for each task.
Naming Consistency5/5All tool names follow a consistent verb_noun pattern with snake_case: search_swift_packages, get_package_readme, and list_search_filters. The naming is predictable and clearly indicates each tool's function.
Tool Count4/5Three tools is appropriate for the server's purpose of searching and exploring Swift packages, covering search, detail retrieval, and filter discovery. However, it feels slightly minimal—adding a tool for getting package metadata or dependencies could enhance completeness.
Completeness4/5The tools cover the core workflow of searching for Swift packages, viewing filters, and reading READMEs, with no dead ends. A minor gap exists in lacking direct access to package metadata like versions or dependencies, but agents can work around this using the provided tools effectively.
Average 4.8/5 across 3 of 3 tools scored.
See the Tool Scores section below for per-tool breakdowns.
This repository is archived. Archived repositories automatically receive an F maintenance tier.
This repository is licensed under MIT License.
This repository includes a README.md file.
No tool usage detected in the last 30 days. Usage tracking helps demonstrate server value.
Tip: use the "Try in Browser" feature on the server page to seed initial usage.
Add a glama.json file to provide metadata about your server.
If you are the author, simply .
If the server belongs to an organization, first add
glama.jsonto the root of your repository:{ "$schema": "https://glama.ai/mcp/schemas/server.json", "maintainers": [ "your-github-username" ] }Then . Browse examples.
Add related servers to improve discoverability.
How to sync the server with GitHub?
Servers are automatically synced at least once per day, but you can also sync manually at any time to instantly update the server profile.
To manually sync the server, click the "Sync Server" button in the MCP server admin interface.
How is the quality score calculated?
The overall quality score combines two components: Tool Definition Quality (70%) and Server Coherence (30%).
Tool Definition Quality measures how well each tool describes itself to AI agents. Every tool is scored 1–5 across six dimensions: Purpose Clarity (25%), Usage Guidelines (20%), Behavioral Transparency (20%), Parameter Semantics (15%), Conciseness & Structure (10%), and Contextual Completeness (10%). The server-level definition quality score is calculated as 60% mean TDQS + 40% minimum TDQS, so a single poorly described tool pulls the score down.
Server Coherence evaluates how well the tools work together as a set, scoring four dimensions equally: Disambiguation (can agents tell tools apart?), Naming Consistency, Tool Count Appropriateness, and Completeness (are there gaps in the tool surface?).
Tiers are derived from the overall score: A (≥3.5), B (≥3.0), C (≥2.0), D (≥1.0), F (<1.0). B and above is considered passing.
Tool Scores
- Behavior4/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full behavioral disclosure burden. It successfully states 'read-only, safe to call multiple times,' output format ('markdown'), truncation behavior ('truncated with a note'), and cost implications ('Larger values use more tokens'). Missing only error handling details (e.g., 404 behavior) for a perfect score.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness4/5Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the core purpose, followed by safety notes, usage guidelines, Args section, and return value details. While comprehensive, the final sentence suggesting post-call actions ('After reading the README, you can suggest...') slightly exceeds strict tool description scope, though it provides workflow context.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness5/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read operation with 3 parameters and an output schema, the description is complete. It explains the input parameters, output behavior (markdown, truncation), workflow relationship to siblings, and even post-call URL construction, leaving no significant gaps for agent operation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters5/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, requiring the description to compensate fully. It provides an 'Args' section documenting all three parameters: owner/repo include examples ('Alamofire'), and max_length explains the default (4000), special case (0 for full), and cost implications—substantially exceeding baseline requirements.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose5/5Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with 'Fetch the README of a Swift package from GitHub,' providing a specific verb (Fetch), resource (README), and scope (Swift package from GitHub). It distinguishes itself from sibling search_swift_packages by explicitly stating 'Use this after search_swift_packages,' clarifying this is for detail retrieval, not discovery.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines5/5Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly states when to use the tool: 'Use this after search_swift_packages to get details about a specific package.' It also clarifies the parameter workflow: 'The owner and repo values come from search results,' directly referencing the sibling tool's output and establishing a clear sequential relationship between the tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
- Behavior4/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full disclosure burden. It successfully documents return structure ('dict with keys platforms and product_types') and behavioral classification ('DISCOVERY tool'). Minor gap: no mention of whether values are cached/static or fetched live, or any rate limiting.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness5/5Is the description appropriately sized, front-loaded, and free of redundancy?
Three sentences with zero waste: sentence 1 states purpose, sentence 2 provides usage guideline labeled 'DISCOVERY', sentence 3 documents return structure. Perfectly front-loaded and sized for the tool's complexity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness5/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite having an output schema (per context signals), the description comprehensively documents return values and structure. Establishes clear relationship to sibling search_swift_packages. Complete for a zero-parameter discovery utility.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters4/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Input schema contains zero parameters (empty object). According to scoring rules, 0 params baseline is 4. The description correctly implies no inputs are needed by omitting any parameter discussion, which is appropriate for this tool type.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose5/5Does the description clearly state what the tool does and how it differs from similar tools?
The description uses specific verbs ('Return', 'DISCOVERY tool') and clearly links to sibling tool search_swift_packages by name. It precisely scopes the resource as 'valid values for the constrained parameters', distinguishing it from the actual search execution performed by its siblings.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines5/5Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly states when to use ('call this first if you are unsure what values are accepted') and establishes clear workflow precedence relative to search_swift_packages. Provides specific parameter names (platforms, product_type) to trigger usage recognition.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
- Behavior5/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations are absent, so the description carries full disclosure burden and succeeds excellently. It explicitly states 'This is a QUERY tool — read-only, safe to call multiple times', disclosing idempotency and safety. It also reveals pagination behavior ('Check has_more in the response') and parameter constraints ('At least one parameter must be provided').
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness4/5Is the description appropriately sized, front-loaded, and free of redundancy?
The description is necessarily lengthy given 13 undocumented parameters, but remains well-structured with clear sectioning (opening statement, behavioral note, constraint, Args list, workflow guidance). Every sentence earns its place—the examples and exclusion syntax ('!') are critical for usage. Minor deduction only because the verbosity is forced by poor schema coverage rather than perfect conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness5/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 13 optional parameters, zero schema descriptions, no annotations, but presence of an output schema, the description achieves completeness. It documents all parameters, explains response handling ('Check has_more'), states constraints, provides workflow integration with siblings, and covers behavioral traits—leaving no significant gaps for an agent to invoke this incorrectly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters5/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With schema description coverage at 0% per context signals, the description comprehensively compensates by documenting all 13 parameters in the Args section. It provides semantic meaning (e.g., 'Filter by repository owner'), syntax details ('Prefix with "!" to exclude'), format examples ('ISO8601 date (YYYY-MM-DD)'), and valid value lists ('ios, macos...') that are completely absent from the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose5/5Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb ('Search') and resource ('Swift Package Index for packages'), clearly stating what the tool does. It distinguishes itself from sibling tools by explicitly mentioning both 'list_search_filters()' and 'get_package_readme()' as related tools to call before and after using this one.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines5/5Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides explicit workflow guidance: when to use 'list_search_filters()' first ('If you are unsure what values are valid'), and what to do after results ('use get_package_readme...to read the README'). Also states critical constraints: 'At least one parameter must be provided' and 'Parameters are combined with AND logic', which are essential for correct invocation.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
GitHub Badge
Glama performs regular codebase and documentation scans to:
- Confirm that the MCP server is working as expected.
- Confirm that there are no obvious security issues.
- Evaluate tool definition quality.
Our badge communicates server capabilities, safety, and installation instructions.
Card Badge
Copy to your README.md:
Score Badge
Copy to your README.md:
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/detailobsessed/spm-search-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server