Skip to main content
Glama
attestedintelligence

AGA-mcp-server

aga_set_verification_tier

Configure verification levels (BRONZE, SILVER, GOLD) for AI agent security policies in a zero-trust environment.

Instructions

Set the verification tier (BRONZE, SILVER, GOLD).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tierYes

Implementation Reference

  • The handler function that executes the 'aga_set_verification_tier' tool, updating the verification tier in the server context and returning metadata.
    export async function handleSetVerificationTier(args: SetVerificationTierArgs, ctx: ServerContext) {
      const validTiers = ['BRONZE', 'SILVER', 'GOLD'] as const;
      if (!validTiers.includes(args.tier as any)) {
        return ctx.error(`Invalid tier: ${args.tier}. Must be BRONZE, SILVER, or GOLD.`);
      }
      const previousTier = ctx.verificationTier;
      ctx.verificationTier = args.tier;
      const info = TIER_DESCRIPTIONS[args.tier];
      return ctx.json({
        success: true,
        previous_tier: previousTier,
        current_tier: ctx.verificationTier,
        description: info.description,
        trust_assumption: info.trust_assumption,
      });
    }
  • The interface defining the input arguments for the tool.
    export interface SetVerificationTierArgs {
      tier: 'BRONZE' | 'SILVER' | 'GOLD';
    }
  • src/server.ts:266-273 (registration)
    The registration of the tool within the MCP server setup.
    // 16. aga_set_verification_tier (ungoverned)
    server.tool('aga_set_verification_tier',
      'Set the verification tier (BRONZE, SILVER, GOLD).',
      {
        tier: z.enum(['BRONZE', 'SILVER', 'GOLD']),
      },
      async (args) => handleSetVerificationTier(args, ctx),
    );

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/attestedintelligence/aga-mcp-server'

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