Skip to main content
Glama

validate

Check a submission exactly as it would be checked: the validator of the current Claimset specification and the portal's screening. Nothing is kept. Give one of: claimset (the file, as a JSON object or its text), with files when its artefacts name a few text files ({"path": "<the artefact's uri>", "text": ""}); upload_id (a package sent to an upload_url address); package_url (an https URL of a package or claimset file). valid says whether it would be accepted; errors and warnings give each problem's rule number, place and message, to fix and check again. A claimset whose artefacts name files by a relative path is an error without them (rule 70), unless it is submitted with package_with_consent. A submission proposes the paper's subfield (paper.classification.subfield, one of /subfields.json): subfield gives its name, to tell your human before submitting; one that proposes none is an error.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNo
claimsetNo
upload_idNo
package_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / $defs / PackagedFile / description
      Previous value: -"One file of a package, sent with the claimset that names it (claimset spec §2.5)."New value: +"One text file of a package, sent with the claimset that names it (claimset spec §2.5). Binary files are never\nsent in a tool call: the package goes by upload_url or with the guarantor's consent (design §4.4)."
    • removedInput schema / $defs / PackagedFile / properties / base64
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "The file's bytes in base64, for any other file (an image).",
      -  "title": "Base64"
      -}
    • removedInput schema / $defs / PackagedFile / properties / text / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / $defs / PackagedFile / properties / text / default
      Removed value: -null
    • addedInput schema / $defs / PackagedFile / properties / text / type
      Added value: +"string"
    • changedInput schema / $defs / PackagedFile / required
      Previous value: -[
      -  "path"
      -]New value: +[
      +  "path",
      +  "text"
      +]
    • addedInput schema / properties / upload_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Upload Id"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that nothing is persisted, that checking mirrors real acceptance, the shape of the result (valid/errors/warnings with rule number, place and message), the rule-70 error for relative-path artefacts and the package_with_consent exception. It omits authentication, size limits for text files, and whether a failed validation has any side effects beyond returning errors.

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 purpose is front-loaded, but the prose is a run-on with tangled syntax ("with files when its artefacts name a few text files") and jumps between input modes, output fields, rule 70 and subfield requirements. Every fact is useful, yet the ordering forces re-reading.

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 four-parameter, annotation-free, output-schema-free tool, the description covers both the input contract and the return values (valid, errors, warnings, subfield) plus a notable failure rule. Remaining gaps — structure of individual error entries and any limits on text file size or count — are minor.

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?

Schema description coverage is 0% at the top level, yet the description explains all four parameters: claimset as a JSON object or its text, files as path/text pairs matching artefact URIs, upload_id as a package previously sent to an upload_url address, and package_url as an https URL. It also signals that exactly one of these modes is expected; what is missing is whether files may accompany upload_id or package_url.

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 and resource: it checks a submission with the same validator and portal screening used for real. The phrase "Nothing is kept" implicitly separates it from the sibling 'submit', but the distinction is never made explicit, so an agent must infer the relationship.

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 clear conditions for each input mode (claimset with optional files, upload_id for an uploaded package, package_url for an https package) and implies the validate-before-submit workflow via "to tell your human before submitting". It does not explicitly name or exclude the 'submit' sibling, so the alternative is only suggested.

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.