Skip to main content
Glama

company_spec_validate

Read-only

Validates a specification document against mandatory sections and FR/AT contract rules to catch missing or malformed requirements before approval.

Instructions

Validates a specification document against mandatory sections and FR/AT contract rules (FR-012).

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": {
      "spec": "<spec>"
    },
    "name": "company_spec_validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
specYesSpec document.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

The description is consistent with readOnlyHint=true — validation is a read operation. It adds useful scope detail by naming the enforced rule families, going beyond the annotation. However, it does not say whether failures are returned as a report, an error, or partial pass/fail data, which is the key behavioral unknown for a validator.

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?

A single front-loaded sentence with zero filler: verb, resource, and the rule set applied. Nothing could be cut without losing information.

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 one-parameter read-only validator with full schema coverage and no output schema, the description covers purpose and rules but leaves open what the call returns (violations list vs error). The remaining gap is moderate rather than critical because no output schema exists to describe return values anyway.

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 coverage is 100% for the single 'spec' parameter, so the baseline is 3. The description adds no meaning about the parameter — notably it doesn't clarify whether 'spec' is document content or a reference/path to a document, which is the one ambiguity an agent calling this must resolve.

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 ('Validates') and resource ('a specification document') plus the exact rule set applied (mandatory sections, FR/AT contract rules, FR-012). An agent knows precisely what this does. It doesn't need sibling differentiation because the siblings (company_execute_decision, company_route) cover unrelated functions.

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

Usage Guidelines2/5

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

No guidance on when to call this versus other tools, whether it should run before execution/routing, or whether 'spec' must already exist in some canonical form. The only implied usage is 'validate specs', which the purpose statement already covers.

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