Skip to main content
Glama
mishafyi

Apple Docs 2.0 MCP

Get Related APIs

get_related_apis
Read-only

Read an Apple documentation page's JSON to list its related APIs: inherited members, protocol conformances, See Also links, and top APIs from each Topics group.

Instructions

The APIs one documentation page relates to, read from that page's JSON alone: what it inherits from and conforms to, its See Also group and the first 3 APIs of each Topics group, each with its link and Apple's one-line summary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apiUrlYesApple documentation URL to analyze. Example: "https://developer.apple.com/documentation/uikit/uiview"
includeSeeAlsoNoShow Apple's recommended related APIs. Great for finding better alternatives or complementary APIs. Default: true
includeInheritedNoShow inherited methods/properties from superclasses. Helps understand full API surface. Default: true
includeConformanceNoShow protocol conformances and requirements. Essential for protocol-oriented programming. Default: true

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the readOnlyHint annotation, the description discloses meaningful behavior: the data source is the page's JSON alone (not a crawl or graph), and Topics groups are truncated to the first 3 APIs. These are real constraints an agent should know. It does not cover failure modes for invalid URLs or any rate limiting, so not a 5.

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?

A single sentence that is front-loaded with the resource and packed with specifics rather than filler. It is dense and slightly run-on, but every clause (source, categories, caps, return shape) contributes information.

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?

With no output schema, the description carries the return-value burden and does so: it states each API comes with its link and Apple's one-line summary, plus the grouping and caps. Error handling and pagination are unaddressed, which keeps it from a 5 but it is otherwise sufficient for a read-only lookup tool.

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 100% and each boolean parameter already has a clear description, so the schema carries the load. The description reinforces what the inherit/conformance/See Also categories yield, but adds no syntax or defaults beyond what the schema states. 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?

The description names a specific resource (the APIs a documentation page relates to) and enumerates exactly what is returned: inheritance, conformances, the See Also group, and the first 3 APIs per Topics group. The phrase 'read from that page's JSON alone' implicitly separates it from similarity-based siblings like find_similar_apis, though that sibling is never named explicitly.

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?

Usage is only implied: an agent can infer you call this to discover related APIs for a given doc URL. There is no explicit when-to-use statement, no guidance on when find_similar_apis or search_framework_symbols would be the better choice, and no prerequisites mentioned.

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