Skip to main content
Glama

draft_quality_baseline

Draft a versioned row-count baseline from the actual owned reference file for an approved contract declaring a threshold/action. Never replaces a baseline automatically.

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": {
      "contract_id": "<contract_id>",
      "upload_id": "<upload_id>"
    },
    "name": "draft_quality_baseline"
  }
}

Input Schema

NameRequiredDescriptionDefault
parent_idNo
upload_idYes
contract_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the annotations, it discloses a genuinely useful trait: the draft is versioned and 'never replaces a baseline automatically,' which is not derivable from destructiveHint=false since a create-and-overwrite would still be non-destructive. It also reveals the data source (the owned reference file) and the precondition (approved contract). It stops short of saying what happens on repeated calls, which matters given idempotentHint=false.

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?

Two sentences with no filler, and the core action is front-loaded before the non-replacement caveat. The first sentence is a dense noun stack ('versioned row-count baseline from the actual owned reference file for an approved contract declaring a threshold/action') that takes a second read.

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 mutation tool with no output schema and zero parameter documentation, the description should state what is produced (e.g., a baseline identifier or version number) and how parent_id relates to versioning. It covers preconditions and non-overwrite behavior but leaves the result shape and one parameter opaque.

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 0%, so the description must carry the load; it partially does by linking 'approved contract' to contract_id and 'owned reference file' to upload_id. However, parent_id is never mentioned and no ID formats or versioning semantics are given, leaving one of three parameters entirely unexplained.

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?

Names a specific verb ('Draft') and resource ('versioned row-count baseline') with scope qualifiers: from the owned reference file of an approved contract declaring a threshold/action. The purpose is unmistakable, but it never names or contrasts a sibling such as draft_quality_contract, so differentiation is left implicit.

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?

Prerequisites are embedded ('for an approved contract', 'actual owned reference file'), which implies the tool should only be called after contract approval and file upload. There is no explicit when-to-use vs. approve_quality_baseline or get_quality_baseline guidance and no stated exclusions, so the agent must infer routing.

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.