Skip to main content
Glama

FAS Vietnamese API

Browse the rule catalogue

list_rules
Read-onlyIdempotent

Browse the public catalogue of Vietnamese standards rules and checks that audits apply, with their citations. Filter by layer, profile, pack, bucket, detection method or severity, or look up the rule ids found in audit results. Results are paged (limit, offset). No API key needed.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
packNoRule packs.
layerNoAudit layers, L0 (integrity) to L5 (compliance).
limitNo
bucketNo
detailNosummary (default) or full (adds descriptions and examples).summary
offsetNo
profileNoDomain profiles that add rules, e.g. ui-strings, contract-legal, web-seo.
ruleIdsNoOnly these rule ids (as returned in audit issues), e.g. viet-hoa-004.
severityNo
detectionNoHow the rule is checked.

Output Schema

NameRequiredDescriptionDefault
rulesYes
totalYesRules matching the filters.
offsetYes
returnedYes
nextOffsetNoPass as offset to get the next page.
rulesetVersionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is largely covered. The description still adds useful behavioral context beyond that: results are paged via limit/offset, the catalogue is public, and 'No API key needed' clarifies auth. It does not describe result volume, default page size, or ordering, so it adds moderate rather than rich context.

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?

Three compact sentences with no redundancy: purpose first, then the filter/lookup options, then paging and auth. Every sentence carries distinct information an agent needs before calling.

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?

An output schema exists, so return values need not be explained, and annotations cover the safety profile. The description covers filters, paging, and auth, which is nearly everything needed for a 10-parameter read tool; the only gap is the detail=summary/full behavior, which the schema already documents.

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

Parameters4/5

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

With 60% schema coverage across 10 parameters, the description usefully names the filter dimensions (layer, profile, pack, bucket, detection, severity) and frames ruleIds as 'the rule ids found in audit results', which tells the agent where to source those values. It also surfaces the paging semantics (limit, offset). The 'detail' parameter's summary/full trade-off is left to the schema alone.

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 resource ('Browse the public catalogue of Vietnamese standards rules and checks') and adds the distinguishing detail that rules carry citations used by audits. That is concrete enough for an agent to separate this from the translation-oriented siblings (list_languages, list_targets, audit_translation) 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 Guidelines4/5

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

It gives two clear usage modes: filtered browsing by layer/profile/pack/bucket/detection/severity, and direct lookup of 'the rule ids found in audit results'. That ties the tool to a concrete workflow (explaining issues returned by audit_translation). It stops short of stating when not to use it or what to do when no filters match, so it is not a 5.

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.