Skip to main content
Glama

Md Code Section

md_code_section
Read-onlyIdempotent

Get the FULL TEXT of a section of the Maryland Code, Maryland state statutes, by citation. "Md. Code, Criminal Law 2-201" is first degree murder. Returns the statutory text. Keyless. Use for "what does Maryland Criminal Law 2-201 say" or to check a Maryland 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": {
      "article": "Criminal Law",
      "section": "2-201"
    },
    "name": "md_code_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
articleYesMaryland article name or code, e.g. "Criminal Law", "Business Occupations and Professions", "gbo". Call md_articles for the list.
sectionYesSection as cited, e.g. "2-201" or "21-902".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "article": "Criminal Law",
      -    "section": "2-201"
      -  },
      -  {
      -    "article": "Transportation",
      -    "section": "21-902"
      -  }
      -]New value: +[
      +  {
      +    "article": "Criminal Law",
      +    "section": "2-201"
      +  },
      +  {
      +    "article": "Transportation",
      +    "section": "21-902"
      +  },
      +  {
      +    "article": "Business Occupations and Professions",
      +    "section": "17-530"
      +  }
      +]
    • changedInput schema / properties / article / description
      Previous value: -"Maryland article name, e.g. \"Criminal Law\", \"Transportation\", \"Family Law\". Call md_articles for the list."New value: +"Maryland article name or code, e.g. \"Criminal Law\", \"Business Occupations and Professions\", \"gbo\". Call md_articles for the list."
  2. 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 readOnly, idempotent, openWorld, non-destructive, so the bar is lower; the description still adds value by stating it returns statutory text ('FULL TEXT') and that access is keyless (no auth setup). It doesn't cover what happens on a bad citation or whether the text is current/annotated, which is the 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?

Front-loaded with the verb and resource in the first clause, then examples, then a use statement — no wasted sentences. Minor redundancy in 'Maryland Code, Maryland state statutes' and the capitalized FULL TEXT slightly clutter an otherwise tight definition.

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?

No output schema exists, and the description compensates by saying it returns the statutory text; the keyless note covers the auth prerequisite an agent would otherwise have to discover. Edge behavior on not-found sections or partial citations is the one thing left unaddressed for a two-parameter lookup tool.

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%, so baseline is 3; the description adds a full-citation example that shows how a real citation decomposes into the article and section parameters, which the schema alone doesn't illustrate. It doesn't clarify abbreviation handling beyond the schema's 'gbo' example, so it's above baseline but not exhaustive.

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?

Specific verb and resource: 'Get the FULL TEXT of a section of the Maryland Code... by citation.' It names the sibling to consult for article names (md_articles) and gives a concrete worked example ('Md. Code, Criminal Law 2-201' is first degree murder), so an agent can separate this fetch-by-citation tool from a list/articles lookup.

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?

Explicit use cases are given ('what does Maryland Criminal Law 2-201 say', or checking a statute a case relies on), and the schema points to md_articles for the article list. It stops short of an explicit when-not-to-use rule or a note on behavior for a missing/invalid citation, so it's clear context rather than full routing guidance.

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.