Skip to main content
Glama

List Apple docs by framework

apple_doc_list_framework
Read-onlyIdempotent

Browse indexed Apple documentation symbols and articles for a framework or module, then filter by symbol type and paginate results for focused API discovery.

Instructions

Browse all indexed Apple documentation symbols and articles for a framework or module. Matches against the modules JSON array and the doc path prefix.

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": {
      "framework": "<framework>"
    },
    "name": "apple_doc_list_framework"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoFilter by symbol kind or role, e.g. 'protocol', 'struct', 'article'.
limitNo
formatNoResponse formatmarkdown
offsetNo
frameworkYesFramework or module name, e.g. 'SwiftUI', 'StoreKit', 'AVFoundation'.

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

B3.4/5.0
Behavior3/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 useful behavioral detail about matching semantics (modules JSON array plus doc path prefix), but says nothing about pagination defaults (limit 50 / offset 0) or what the response contains in either format.

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 purpose and followed by the matching detail. No filler, though the second sentence could be folded more tightly into the first.

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?

Pagination, default result size, and the meaning of the markdown/json format choice are left unaddressed for a five-parameter listing tool with no output schema. The definition is adequate to make the call but thin on what an agent should expect back.

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 coverage is 60%, and the description contributes real meaning for the required 'framework' parameter by explaining that it matches both module membership and path prefixes. The remaining parameters (limit, offset, format) are not explained in the description; limit and offset carry no schema description at all.

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 ('Browse') and resource ('all indexed Apple documentation symbols and articles for a framework or module'), which clearly separates it from single-item siblings like apple_doc_get. It does not explicitly name a sibling it might be confused with, such as apple_doc_lookup or apple_search_all, so it stops short of a 5.

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 word 'Browse' plus 'all ... for a framework' implies enumeration and when to reach for this tool, but there is no explicit statement about when NOT to use it or which sibling handles targeted lookups. Usage has to be inferred from the sibling list.

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