Skip to main content
Glama

WritersLogic business agents

coa-gate

Certificate of analysis vs specification: pass, fail or indeterminate per clause — Checks the values on a certificate of analysis or test report against specification limits clause by clause (up to 200 clauses), for an agent accepting a lot or a supplier's material. Each clause has a parameter, an optional min and max and a unit; each result has a value, an optional reported uncertainty and an optional less-than or greater-than qualifier ("<0.01"). rule simple (default): the rep

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "clauses": "<clauses>",
      "results": "<results>"
    },
    "name": "coa-gate"
  }
}

Input Schema

NameRequiredDescriptionDefault
ruleNo
clausesYes
resultsYes
conversionsNoCaller-supplied unit conversions; none are built in.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses useful behavior such as clause-by-clause comparison, up to 200 clauses, uncertainty handling, and censored qualifiers, but the rule explanation is truncated and output/error behavior is not fully described.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The description is front-loaded with purpose and scope, but the final sentence is cut off mid-thought ('rule simple (default): the rep'), which harms structure and leaves a key parameter unexplained. Otherwise the wording is efficient.

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

Completeness3/5

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

For a complex four-parameter tool with nested arrays, no annotations, and no output schema, the description covers the core comparison adequately. However, it is not self-contained because conversions, rule semantics, and full return behavior are missing.

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?

Schema description coverage is only 25%, so the description should compensate. It explains clause and result fields, but omits the conversions parameter entirely and explains the rule only in a truncated fragment, leaving callers to infer key semantics from the schema.

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 opens with a specific verb and resource: it checks certificate-of-analysis or test-report values against specification limits clause by clause and returns pass, fail, or indeterminate. This clearly differentiates it from a general policy or safety gate.

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?

It states the intended context—'for an agent accepting a lot or a supplier's material'—which implies when to use it. It does not name alternatives or exclusions, so when/when-not guidance is clear but incomplete.

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.

Resources