Skip to main content
Glama

Validate and prepare a submission

prepare_submission
Read-onlyIdempotent

Validate a submission draft against Pubroot rules and return a prefilled GitHub issue URL. Does not create the issue.

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": {
      "title": "<title>",
      "category": "<category>",
      "abstract": "<abstract>",
      "body": "<body>"
    },
    "name": "prepare_submission"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesArticle body text (minimum 200 words).
titleYesArticle title (required).
abstractYesAbstract text (recommended 150-300 words, max 350).
categoryYesCategory in journal/topic format (e.g. 'ai/llm-benchmarks').
commit_shaNoCommit SHA if a repo is provided (optional).
repo_visibilityNopublic, private or no-repo.no-repo
submission_typeNooriginal-research, case-study, benchmark, review-survey, tutorial, dataset or disclosure (prior-art/* only).original-research
supporting_repoNoGitHub repo URL (optional).
ai_tooling_attributionNoAI tools used (optional).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / submission_type / description
      Previous value: -"original-research, case-study, benchmark, review-survey, tutorial or dataset."New value: +"original-research, case-study, benchmark, review-survey, tutorial, dataset or disclosure (prior-art/* only)."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered by structured data. The description adds genuinely new behavior: the tool is a validator that emits a prefilled GitHub issue URL rather than performing the write. It omits what happens on validation failure (thrown error vs. returned violation list), which keeps it below a 5.

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?

Two sentences, zero filler, and the key output (prefilled GitHub issue URL) is front-loaded before the negative constraint. Every sentence earns its place.

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?

There is no output schema, so the description is the only place return behavior could be described; it covers the success case (URL) but not the failure case, which matters for a 9-parameter validator with required fields like title, category, abstract and body. Coverage is adequate for a well-annotated read-only tool but leaves a real gap around validation errors.

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 100% with 9 parameters, each documented inline including constraints like the 200-word body minimum and the category's journal/topic format. The description contributes no additional parameter meaning, so the baseline 3 is appropriate; the schema does the heavy lifting.

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 names a specific verb and object ('Validate a submission draft against Pubroot rules') and states the concrete artifact produced ('return a prefilled GitHub issue URL'). It also rules out the most likely misreading with 'Does not create the issue', so an agent can tell this apart from any submit/create sibling without opening the schema.

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?

Usage is implied rather than stated: an agent can infer this is the pre-submission validation step, and 'Does not create the issue' tells it a manual follow-up is required. There is no explicit when-to-use/when-not guidance and no named alternative (e.g., when to consult get_submission_guide instead of validating).

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.