Skip to main content
Glama

search_framework_symbols

Read-only

Search symbols within an Apple framework to explore its APIs and find classes, structs, protocols, and delegates. Filter by symbol type, name pattern, or language.

Instructions

Browse and search symbols within a specific Apple framework. Perfect for exploring framework APIs, finding all views/controllers/delegates in a framework, or discovering available types. Use after list_technologies to get framework identifiers.

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": "search_framework_symbols"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoResults limit (default: 50, max: 200). Includes nested symbols.
languageNoLanguage preference. Some APIs differ between Swift and Objective-C. Default: "swift"
frameworkYesFramework identifier in lowercase. Common: "uikit", "swiftui", "foundation", "combine", "coredata". Get exact names from list_technologies. Example: "swiftui" for SwiftUI framework.
symbolTypeNoFilter by symbol type. Use "class" for UIViewController subclasses, "protocol" for delegates, "struct" for value types. Default: "all" shows everything.
namePatternNoFilter by name pattern. Use "*View" for all views, "UI*" for UI-prefixed symbols, "*Delegate" for delegates. Case-insensitive. Leave empty for all symbols.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv5.1.0
    • changedInput schema / properties / namePattern / description
      Previous value: -"Filter by name pattern. Use \"*View\" for all views, \"UI*\" for UI-prefixed symbols, \"*Delegate\" for delegates. Case-sensitive. Leave empty for all symbols."New value: +"Filter by name pattern. Use \"*View\" for all views, \"UI*\" for UI-prefixed symbols, \"*Delegate\" for delegates. Case-insensitive. Leave empty for all symbols."
  2. First observedv2.1.1

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds the sequencing dependency on list_technologies but says nothing about result shape, pagination, or how the 200-result cap interacts with nested symbols — the schema only hints at the nested behavior.

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?

Two sentences, purpose first, prerequisite second, with no filler or repetition. Every clause contributes either intent or an actionable next step.

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?

For a five-parameter read-only search tool with no output schema, the description covers purpose, typical queries, and the prerequisite tool. The main residual gap is what a returned symbol entry contains, which an agent must discover by calling it.

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 100%, so every parameter (framework identifier format, symbolType enum, namePattern wildcards, limit, language) is already documented with examples. The description adds no parameter meaning beyond what the schema provides, making the baseline 3 appropriate.

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 gives a specific verb and resource ('Browse and search symbols within a specific Apple framework') and grounds it with concrete examples (views/controllers/delegates, available types). It is distinguishable from siblings like search_apple_docs or find_similar_apis by scope, though it never explicitly contrasts with them.

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

Usage Guidelines4/5

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

'Use after list_technologies to get framework identifiers' supplies a clear prerequisite and ordering, and the examples sketch typical use cases. There is no explicit when-not guidance or naming of an alternative tool for overlapping needs.

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