Skip to main content
Glama

Search Swift Forums

swift_forum_search
Read-onlyIdempotent

Search forums.swift.org discussions across Swift Evolution, using Swift, and development categories to find ranked community posts on proposals, language behavior, compiler questions, and API usage.

Instructions

Full-text search across forums.swift.org discussions, including Swift Evolution proposals discussion, using-swift questions, and development topics. Returns ranked forum posts with title, category, URL, and a content snippet. Useful for finding community discussion around Swift proposals, language behavior, compiler questions, and API usage.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "swift_forum_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYesSearch query, e.g. 'sendable', 'actor isolation', 'async sequence', 'SE-0400'.
formatNoResponse formatmarkdown
offsetNo
categoryNoFilter to a specific category. Omit to search all categories.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.2.3
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / offset / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / query / maxLength
      Added value: +500
  2. First observedv0.2.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly=true, idempotent=true, destructive=false and openWorld=false, so the safety profile is handled. Beyond that, the description adds genuinely useful disclosure that the result set is ranked posts with title, category, URL and snippet — the only return-value signal available since no output schema exists.

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?

Three sentences, front-loaded with the capability, then the return shape, then the use cases — a sensible order with no filler. The final sentence overlaps somewhat with the first two in the topics it lists, but it earns its place as routing guidance.

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?

Five parameters with one required, no output schema, no nested objects — the description covers scope, result shape, and intent, which is enough to call it correctly. Remaining gaps are pagination and query-syntax behavior, plus disambiguation from apple_forum_search, which keep it short of full completeness.

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 60%, and the description reinforces the category filter by naming the same three topic areas the category enum exposes. It says nothing about limit, offset, or format semantics, so it adds only marginal meaning over the schema's own defaults and bounds.

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?

The description names a specific verb and resource: full-text search over forums.swift.org discussions, and enumerates the covered subtopics (Swift Evolution, using-swift, development). It does not, however, distinguish this from the sibling apple_forum_search, leaving an agent to infer which forum index to hit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The closing sentence gives implied usage contexts (proposal discussion, language behavior, compiler questions, API usage), which helps an agent decide to reach for this tool. But there is no explicit when-not guidance, no mention of scope boundaries versus apple_forum_search or apple_swift_evolution_filter, and no prerequisites stated.

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