Skip to main content
Glama
jicoing

MCP Image Metadata Server

by jicoing

get_pricing

Retrieve current pricing tiers for image metadata extraction services, including pay-per-use rates and x402 payment support.

Instructions

Get current pricing for image metadata extraction tiers

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler logic for the 'get_pricing' tool in the stdio server. It checks freemium status and returns the PRICING object along with freemium info.
    case 'get_pricing': {
      const freemium = checkFreemium(payer);
      return {
        content: [
          {
            type: 'text',
            text: JSON.stringify({ 
              pricing: PRICING,
              freemium: {
                limit: 50,
                remaining: freemium.remaining,
              }
            }, null, 2),
          },
        ],
      };
    }
  • The handler logic for the 'get_pricing' tool in the HTTP server. Same behavior: returns PRICING and freemium info.
    case 'get_pricing': {
      const freemium = checkFreemium(payer);
      return {
        content: [{ type: 'text', text: JSON.stringify({ pricing: PRICING, freemium: { limit: 50, remaining: freemium.remaining } }, null, 2) }],
      };
    }
  • Registration of 'get_pricing' tool with its input schema (empty object, no parameters) and description in the stdio server.
    {
      name: 'get_pricing',
      description: 'Get current pricing for image metadata extraction tiers',
      inputSchema: {
        type: 'object',
        properties: {},
      },
    },
  • Registration of 'get_pricing' tool with its input schema (empty object) and description in the HTTP server.
    {
      name: 'get_pricing',
      description: 'Get pricing info',
      inputSchema: { type: 'object', properties: {} },
    },
  • The PRICING constant defining all pricing tiers (basic, standard, premium, forensic) with prices and included features. This is the core data returned by the get_pricing tool.
    import type { PricingTier, PricingInfo } from './types.js';
    
    export const PRICING: Record<PricingTier, PricingInfo> = {
      basic: {
        tier: 'basic',
        price: 0.001,
        includes: ['EXIF', 'file info', 'dimensions', 'color profile'],
      },
      standard: {
        tier: 'standard',
        price: 0.002,
        includes: ['Basic + GPS', 'IPTC', 'XMP', 'keywords'],
      },
      premium: {
        tier: 'premium',
        price: 0.005,
        includes: ['Standard + OCR', 'thumbnail', 'deep hash'],
      },
      forensic: {
        tier: 'forensic',
        price: 0.015,
        includes: ['Premium + manipulation analysis', 'full EXIF history'],
      },
    };
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It indicates a read operation but does not disclose any behavioral traits such as data freshness, rate limits, or caching behavior. For a simple no-parameter tool, this minimal disclosure is adequate but not rich.

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, clear sentence with no unnecessary words. It is front-loaded with the key information and earns its place.

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?

Given the tool has no parameters, no output schema, and no annotations, the description covers the basic functionality. However, it lacks details on the output structure or what constitutes 'pricing tiers,' which could be improved for completeness.

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 zero parameters, and schema coverage is 100% (vacuously). The description adds no param information because none is needed. Per guidelines, 0 parameters earns a baseline of 4.

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

Purpose5/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: retrieving current pricing for image metadata extraction tiers. It uses a specific verb ('get') and resource ('pricing'), and distinguishes itself from siblings like detect_image_manipulation and extract_image_metadata.

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

Usage Guidelines3/5

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

The description does not provide explicit when-to-use or when-not-to-use guidance. While it is clear that the tool is for pricing queries, no alternatives or conditions are mentioned, which is acceptable given the lack of similar sibling tools in this domain.

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/jicoing/mcp-image-metadata'

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