Skip to main content
Glama

submit

Submit a claimset for publication. A claimset whose artefacts name files by a relative path (files/results.csv) is published with those files, so EntryLib needs its package; choose the first route that works for you: 1. upload_id: get an address with upload_url, send the package there with one request from where it is (curl --fail -T paper.zip <url>), and give its upload_id. The file never passes through you. 2. package_with_consent: give the claimset alone with package_with_consent true when you cannot send a request. Give your human the package (the zip claimset package builds) with the consent link: they attach it on the consent page, which checks it holds this claimset, and then confirm. 3. files: for a few small text files only, give the claimset with their contents ({"path": "<the artefact's uri>", "text": ""}); EntryLib builds the package. Copy each exactly: a file whose checksum differs from the version its artefact records is refused (claimset package --update records them). 4. package_url: an https URL where the package is deposited (a commit on GitHub, Zenodo). A claimset whose files are all deposited elsewhere, named by https URLs, or that names no file, is given alone. Never send a claimset without the files it names otherwise: it is refused (rule 70). Binary content is never sent in a call: base64 is not accepted.

    A valid submission is held for 48 hours. The response's `consent` gives a link for the guarantor: give it to
    your human, who signs in with ORCID and confirms; then it is published. The link is shown only in this response.
    Use submission_status with the response's id to follow it. A new version of a published claimset sets paper.id
    to its identifier; set new_paper only for a different paper whose title is the same as one the guarantor already
    has.

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": "submit"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNo
claimsetNo
new_paperNo
upload_idNo
package_urlNo
package_with_consentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 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 / package_with_consent
      Added value: +{
      +  "default": false,
      +  "title": "Package With Consent",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / upload_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Upload Id"
      +}
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it discloses the 48-hour hold, the refusal conditions (checksum mismatch, rule 70, base64 rejected), that upload route 1 never routes the file through the agent, and that the consent link appears only in this response. It also explains the publish flow after guarantor confirmation and how a new version differs from new_paper.

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 numbered route list front-loads the decision the caller must make, and nearly every sentence carries operational information. Some parentheticals ('(rule 70)', '(claimset package --update records them)', '(`curl --fail -T paper.zip <url>`)') and the dense final paragraph add length that a caller must parse carefully.

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

Completeness5/5

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

For a six-parameter mutation with no annotations and no output schema, the description covers prerequisites, per-route mechanics, refusal behavior, the post-submission consent flow, and follow-up via submission_status. Nothing an agent needs to call it correctly or to explain the next step to a human is missing.

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?

Top-level schema coverage is 0%, and the description compensates by explaining upload_id, package_with_consent, files (with the exact {"path","text"} shape and the checksum-exactness requirement), package_url with examples, and the narrow condition for new_paper. The only gap is that the `claimset` parameter's accepted forms (object vs. string) are never described, leaving its core shape to inference.

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?

Names a specific verb and resource ('Submit a claimset for publication') and immediately scopes it to the file-bearing case ('A claimset whose artefacts name files by a relative path ... is published with those files'). It is distinguishable from siblings such as submission_status, upload_url and validate without opening any schema.

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

Usage Guidelines5/5

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

Enumerates four concrete routes with selection conditions ('choose the first route that works for you', 'when you cannot send a request', 'for a few small text files only') and states when no files are needed at all. It also gives explicit exclusions ('Never send a claimset without the files it names') and negative guidance ('Binary content is never sent in a call').

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.