Skip to main content
Glama

quality_score

Scores a manuscript against structure, reporting-standard compliance, evidence, citations, and thesis checks, then returns a grade and blocking findings to guide revision.

Instructions

Score a manuscript across structure, abstract, depth, citations, provenance, evidence, method rigour, limitations, prose style, declarations, references, figures, readability and (advisory) formulaic prose; research_design (or paper_type) selects the reporting standard: PRISMA, CONSORT, STROBE, CROSS, SRQR/COREQ, TRIPOD+AI, REFORMS, DSRM, R&D, PTK and more. document_kind=thesis (or auto) checks thesis front matter, Chapter 1, question-objective-conclusion alignment and layout against thesis_profile. Returns a grade and blocking findings.

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": {
      "workspace": "<workspace>",
      "target_path": "<target_path>"
    },
    "name": "quality_score"
  }
}

Input Schema

NameRequiredDescriptionDefault
flow_pathNo
workspaceYes
paper_typeNoauto
target_pathYes
depth_targetNo
min_anchoredNo
thesis_stageNoauto
allow_em_dashNo
document_kindNoauto
thesis_profileNoauto
research_designNoauto
reference_policyNo
bibliography_pathNo
required_declarationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv4.2.0
    • changedInput schema / additionalProperties
      Previous value: -trueNew value: +false
    • addedInput schema / properties
      Added value: +{
      +  "allow_em_dash": {
      +    "default": false,
      +    "type": "boolean"
      +  },
      +  "bibliography_path": {
      +    "type": "string"
      +  },
      +  "depth_target": {
      +    "default": 500,
      +    "type": "integer"
      +  },
      +  "document_kind": {
      +    "default": "auto",
      +    "type": "string"
      +  },
      +  "flow_path": {
      +    "type": "string"
      +  },
      +  "min_anchored": {
      +    "default": 0.6,
      +    "type": "number"
      +  },
      +  "paper_type": {
      +    "default": "auto",
      +    "type": "string"
      +  },
      +  "reference_policy": {
      +    "type": "object"
      +  },
      +  "required_declarations": {
      +    "type": "array"
      +  },
      +  "research_design": {
      +    "default": "auto",
      +    "type": "string"
      +  },
      +  "target_path": {
      +    "type": "string"
      +  },
      +  "thesis_profile": {
      +    "default": "auto",
      +    "type": "string"
      +  },
      +  "thesis_stage": {
      +    "default": "auto",
      +    "type": "string"
      +  },
      +  "workspace": {
      +    "type": "string"
      +  }
      +}
    • addedInput schema / required
      Added value: +[
      +  "workspace",
      +  "target_path"
      +]
  2. First observedv4.0.0

TDQS

B3.2/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 burden; it does disclose that the tool returns a grade with blocking findings and that formulaic-prose scoring is advisory. It does not state whether the run is read-only, whether it mutates the workspace, what it costs in time/tokens on a long manuscript, or what happens when required files are absent.

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 the action and then built as two scoped clauses (research-design mode, thesis mode) ending with the return value. Dense but nearly waste-free; the long dimension list is informative, though the packed single block reduces scannability.

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 14-parameter tool with no annotations, no output schema and nested objects (reference_policy), the description covers the headline behavior, standard selection and thesis mode but not the majority of parameters or the failure/precondition story. Adequate to understand intent, insufficient to invoke confidently without reading the schema.

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

Parameters2/5

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

Schema description coverage is 0% across 14 parameters, so the description must compensate. It adds real meaning for research_design (enumerating PRISMA, CONSORT, STROBE, CROSS, SRQR/COREQ, TRIPOD+AI, REFORMS, DSRM, R&D, PTK), paper_type as its alias, document_kind=thesis, and thesis_profile — but leaves flow_path, depth_target, min_anchored, thesis_stage, allow_em_dash, reference_policy, bibliography_path and required_declarations entirely undocumented.

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?

Opens with a specific verb+resource ('Score a manuscript') and enumerates the exact dimensions evaluated (structure, abstract, citations, method rigour, figures, readability, etc.), plus the grade/blocking-findings return. It never names or contrasts a sibling such as claim_audit or design_lookup, so an agent must infer from names alone which audit path to take.

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?

Implied routing is present: research_design/paper_type selects the reporting standard and document_kind=thesis triggers thesis checks, which hints at when those modes apply. There is no explicit when-to-use vs when-not guidance, no prerequisite (e.g. a bound corpus or existing bibliography), and no statement of when to prefer claim_audit or other siblings instead.

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