Skip to main content
Glama
rp4

IIA-MCP Server

by rp4

get_standard_details

Retrieve detailed information about a specific IIA standard by providing its standard number. Access professional standards, guidance documents, and compliance validation resources through the IIA-MCP Server.

Instructions

Get detailed information about a specific IIA standard

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
standardNumberYesIIA standard number (e.g., "2010", "1100")

Implementation Reference

  • The primary handler function for the 'get_standard_details' tool. It searches the pre-built document index for documents matching the given standardNumber, retrieves the full content, and returns a formatted MCP response with the standard details.
    private async getStandardDetails(standardNumber: string): Promise<any> {
      const matchingDocs = Array.from(this.documentIndex.entries())
        .filter(([_, metadata]) => metadata.standardNumber === standardNumber);
    
      if (matchingDocs.length === 0) {
        return {
          content: [
            {
              type: 'text',
              text: `Standard ${standardNumber} not found in the repository.`,
            },
          ],
        };
      }
    
      const [filePath, metadata] = matchingDocs[0];
      const content = await this.getDocumentContent(filePath);
    
      return {
        content: [
          {
            type: 'text',
            text: `# ${metadata.title}\n**Standard:** ${standardNumber}\n**Category:** ${metadata.category}\n**Last Updated:** ${metadata.lastUpdated}\n\n${content}`,
          },
        ],
      };
    }
  • The tool registration entry in the listTools response, defining the name, description, and input schema for 'get_standard_details'.
    {
      name: 'get_standard_details',
      description: 'Get detailed information about a specific IIA standard',
      inputSchema: {
        type: 'object',
        properties: {
          standardNumber: {
            type: 'string',
            description: 'IIA standard number (e.g., "2010", "1100")',
          },
        },
        required: ['standardNumber'],
      },
    },
  • The input schema definition for the 'get_standard_details' tool, specifying the required 'standardNumber' parameter.
    inputSchema: {
      type: 'object',
      properties: {
        standardNumber: {
          type: 'string',
          description: 'IIA standard number (e.g., "2010", "1100")',
        },
      },
      required: ['standardNumber'],
    },
  • The dispatch handler in the CallToolRequestSchema that routes to the getStandardDetails method.
    case 'get_standard_details':
      return this.getStandardDetails(args.standardNumber);
Install Server

Other Tools

Related 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/rp4/IIA-MCP'

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