Skip to main content
Glama
bestpractices-mcp

bestpractices-mcp

by reponomics

get_criteria

Read-onlyIdempotent

Read packaged official OpenSSF Best Practices criteria and provenance offline by level or criterion ID, enabling requirement inspection without network access.

Instructions

Read packaged official criteria and provenance offline, by level and criterion.

Input Schema

NameRequiredDescriptionDefault
levelNo
criterion_idsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0-beta.1

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description contributes the useful facts that the data is locally packaged and includes provenance alongside the criteria themselves. It says nothing about filtering behavior when no arguments are supplied, which is the main behavioral unknown here.

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?

A single tight sentence with the resource and its qualifiers front-loaded and no filler. Slight ambiguity in 'packaged official' keeps it from being maximally crisp, but nothing is wasted.

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?

The output schema means return values need no explanation, and annotations cover the safety profile, so the bar is modest for this small two-parameter read. Still missing are the default no-argument behavior and the meaning of the level enumeration, which an agent would need to call it confidently.

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?

With 0% schema description coverage, the description must carry parameter meaning, and it only names the two axes ('by level and criterion'). It does not explain the level enum values (passing/silver/gold versus baselines), the dependentRequired relationship where criterion_ids requires level, or what happens when both optional parameters are omitted.

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 (read) and resource (official criteria plus provenance), with scope modifiers 'packaged' and 'offline' and the selection axes 'by level and criterion'. Among the siblings, which all concern drafts, this is clearly the criteria-lookup tool, though it never names a sibling to sharpen the distinction.

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?

There is no explicit when-to-use guidance, no stated prerequisites, and no alternatives named. 'Offline' hints that no network call is involved, but an agent gets no signal on when to reach for this versus the draft-building and validation tools.

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