Skip to main content
Glama

AINumbers Fintech Intelligence Suite

MCP Tool-Definition Linter & Annotation Designer

lint_mcp_tool_definition
Read-onlyIdempotent

Validate an MCP tool definition against JSON Schema 2020-12 and current naming, output-schema, and annotation rules; returns findings, a conformance score, and a recommended annotation set. Use when a developer wants to check an MCP tool definition before publishing. Renders the interactive AINumbers tool as a widget; inputs are applied via the AIN Bridge and the tool runs client-side (zero PII, zero network). Output schema: call describe_tool("lint_mcp_tool_definition").

Input Schema

NameRequiredDescriptionDefault
inputsNoMap of tool input element IDs to values (see manifest input_schema). Applied via AIN Bridge prefill.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "annotations": {
      -      "type": "object"
      -    },
      -    "findings": {
      -      "items": {
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "score": {
      -      "type": "number"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "annotations": {
      +      "type": "object"
      +    },
      +    "findings": {
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "score": {
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  4. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds real context beyond them: widget rendering, inputs applied via the AIN Bridge prefill, client-side execution, zero PII, zero network. That is meaningfully non-obvious behavior for an agent to know. It does not detail rate limits or what happens on an invalid definition input.

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?

Front-loaded with purpose and outputs in sentence one, then usage, then execution model, then a pointer to describe_tool. Four sentences, each carrying distinct information, though the widget/AIN Bridge sentence is somewhat stacked with unexplained terms.

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?

For a single-parameter read-only validator with no output schema, the definition covers what it does, when to use it, and what it returns at a high level, and even redirects to describe_tool for the full output contract. What 'findings' contain and their severity structure is left entirely to that redirect.

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

Parameters3/5

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

Only one parameter (`inputs`), and schema description coverage is 100%, so the schema already explains the ID-to-value map. The description adds a small amount by saying inputs are applied via AIN Bridge prefill, but nothing about expected keys or the manifest input_schema is expanded.

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?

States a specific verb (validate) and resource (an MCP tool definition), plus the rule families checked (JSON Schema 2020-12, naming, output-schema, annotation) and the outputs (findings, conformance score, recommended annotation set). The 'tool definition' scope implicitly separates it from server-level siblings like lint_mcp_server_conformance, but no sibling is named explicitly.

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

Usage Guidelines4/5

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

Gives a clear trigger: 'Use when a developer wants to check an MCP tool definition before publishing.' That is a concrete life-cycle moment rather than a vague gesture. It stops short of exclusions or naming an alternative (e.g. lint_mcp_server_conformance for server-wide checks, score_mcp_readiness for scoring).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.