Skip to main content
Glama

Va Code Section

va_code_section
Read-onlyIdempotent

Get the FULL TEXT of a section of the Code of Virginia, Virginia state statutes, by citation. "Va. Code 18.2-32" is first and second degree murder. Returns the statutory text. Keyless. Use for "what does Virginia Code 18.2-32 say" or to check a Virginia statute a case relies on.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "section": "18.2-32"
    },
    "name": "va_code_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectionYesSection as cited, e.g. "18.2-32" or "46.2-862". Title is the part before the dash.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description still adds real value beyond them: "Keyless" tells the agent no auth/credential setup is needed, and "Returns the statutory text" sets the return expectation. It does not say what happens for an invalid or nonexistent citation, which is the main remaining gap.

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?

Short and front-loaded, with the core purpose in the first clause and the example/use cases after it. Some fragments ("Keyless.") and the murder-statute trivia are slightly clipped, but nothing is padded or redundant.

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 tool with no output schema, the description covers purpose, citation format, return content, and auth requirements. The only missing piece an agent might want is failure behavior on malformed or nonexistent citations.

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?

Schema coverage is 100% and the schema already explains the title-before-dash format, so the baseline would be 3. The description earns an extra point by supplying a concrete citation in natural form ("Va. Code 18.2-32") alongside the bare section number, clarifying that the agent should pass just the section portion rather than a full citation string.

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?

States a specific verb and resource: "Get the FULL TEXT of a section of the Code of Virginia ... by citation." The scope (full text, not summaries) and the input mode (by citation) are explicit, and no sibling tool in the catalog does statutory lookup, so there is no ambiguity to resolve.

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?

Gives concrete triggering phrasings ("what does Virginia Code 18.2-32 say") and a real secondary use case (checking a statute a case relies on). It lacks any when-not guidance or named alternative for related legal lookups, but the usage context is clear.

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.