Skip to main content
Glama

get_server_info

Retrieve server information from the AGA-mcp-server to verify attestation, cryptographic measurements, and tamper-evident logging for AI agent security.

Instructions

Get AGA server info (alias for aga_server_info).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function `handleServerInfo` that implements the logic for `get_server_info`.
    export async function handleServerInfo(_args: Record<string, never>, ctx: ServerContext) {
      return ctx.json({
        server: 'AGA MCP Server',
        version: '2.0.0',
        protocol: 'Attested Governance Artifacts v2.0.0',
        patent: 'USPTO Application No. 19/433,835',
        nist_references: ['NIST-2025-0035', 'NCCoE AI Agent Identity'],
        framework_alignment: {
          spiffe: 'SPIFFE provides workload identity (SVID); AGA binds governance to workload intent',
          nist_sp_800_57: 'Key management aligned with SP 800-57 recommendations',
          nist_ai_rmf: 'AI Risk Management Framework: Govern, Map, Measure, Manage',
        },
        issuer_public_key: pkToHex(ctx.issuerKP.publicKey),
        portal_public_key: pkToHex(ctx.portalKP.publicKey),
        chain_public_key: pkToHex(ctx.chainKP.publicKey),
        chain_initialized: ctx.chainInitialized,
        portal_state: ctx.portal.state,
        verification_tier: ctx.verificationTier,
        measurement_count: ctx.measurementCount,
        uptime_ms: Date.now() - Date.parse(ctx.startTime),
      });
    }
  • src/server.ts:74-78 (registration)
    The registration of the `get_server_info` tool in `src/server.ts`.
    server.tool('get_server_info',
      'Get AGA server info (alias for aga_server_info).',
      {},
      async () => handleServerInfo({} as any, ctx),
    );
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 only states the action ('Get AGA server info') without detailing traits like whether it's read-only, requires authentication, has rate limits, or what the output format might be. This is inadequate 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose. However, the 'alias for aga_server_info' clause adds minor redundancy without clear value, slightly detracting from perfect conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of annotations and output schema, the description is incomplete. It doesn't explain what server info is returned, the format of the response, or any prerequisites for use. For a tool in a complex environment with many siblings, more context is needed to guide effective agent usage.

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 the schema fully documents the absence of inputs. The description doesn't need to add parameter semantics, and it correctly doesn't mention any. This meets the baseline for a parameterless tool.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the tool 'Get AGA server info' which clearly indicates its purpose as retrieving server information. However, it's vague about what specific information is returned (e.g., version, status, configuration) and the 'alias for aga_server_info' note adds confusion rather than clarity about its distinct function compared to potential siblings.

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?

No guidance is provided on when to use this tool versus alternatives. The mention of 'alias for aga_server_info' implies a relationship with another tool but doesn't explain when to choose one over the other or what contexts require server info retrieval. This leaves the agent without usage direction.

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

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