Skip to main content
Glama

current_technology

Check which Apple technology is currently selected in the Apple Doc MCP server and learn how to switch to different frameworks or APIs for documentation access.

Instructions

Report the currently selected technology and how to change it

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Builds and returns the handler function for the 'current_technology' tool. It checks for an active technology and returns formatted information about it, including name, identifier, and next action suggestions. If no technology is active, it delegates to a no-technology message.
    export const buildCurrentTechnologyHandler = (context: ServerContext) => {
    	const noTechnology = buildNoTechnologyMessage(context);
    
    	return async (): Promise<ToolResponse> => {
    		const active = context.state.getActiveTechnology();
    		if (!active) {
    			return noTechnology();
    		}
    
    		const lines = [
    			header(1, '📘 Current Technology'),
    			'',
    			bold('Name', active.title),
    			bold('Identifier', active.identifier),
    			'',
    			header(2, 'Next actions'),
    			'• `search_symbols { "query": "keyword" }` to find symbols',
    			'• `get_documentation { "path": "SymbolName" }` to open docs',
    			'• `choose_technology "Another Framework"` to switch',
    		];
    
    		return {
    			content: [{text: lines.join('\n'), type: 'text'}],
    		};
    	};
    };
  • Registers the 'current_technology' tool in the tool definitions array, specifying its name, description, empty input schema, and the built handler.
    	name: 'current_technology',
    	description: 'Report the currently selected technology and how to change it',
    	inputSchema: {
    		type: 'object',
    		required: [],
    		properties: {},
    	},
    	handler: buildCurrentTechnologyHandler(context),
    },
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool reports information and provides guidance on changing technology, implying a read-only operation, but lacks details on permissions, response format, or potential side effects. This is a significant gap for a tool with zero annotation coverage.

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?

The description is a single, efficient sentence that front-loads the core purpose ('report the currently selected technology') and adds a useful extension ('and how to change it'). There is zero waste, making it appropriately sized and well-structured.

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?

Given the tool's simplicity (0 parameters, no output schema, no annotations), the description is adequate but has clear gaps. It covers the basic purpose but lacks behavioral details and usage guidelines, making it minimally viable for a read-only reporting tool in a context with sibling alternatives.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has 0 parameters with 100% schema description coverage, so no parameter documentation is needed. The description appropriately does not discuss parameters, earning a baseline score of 4 for not adding unnecessary information beyond the schema.

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 clearly states the tool's purpose: to report the currently selected technology and provide information on how to change it. This specifies both the action ('report') and the resource ('currently selected technology'), though it doesn't explicitly differentiate from sibling tools like 'choose_technology' or 'get_version'.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It mentions 'how to change it,' which might imply usage before or after 'choose_technology,' but there are no explicit instructions on context, prerequisites, or exclusions relative to siblings like 'discover_technologies' or 'get_documentation'.

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

Install Server

Other Tools

Latest Blog Posts

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/MightyDillah/apple-doc-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server