Skip to main content
Glama

far-dfar-clause-mapper

extract_clauses

Deterministically extract every FAR and DFARS clause reference from solicitation text. Returns each unique clause with occurrence count, source contexts, official title and category from a 986-clause table sourced from acquisition.gov and eCFR, and the official source URL. No LLM guessing: the same input always returns the same output.

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": {
      "text": "<text>"
    },
    "name": "extract_clauses"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesSolicitation text (up to 200,000 characters with an API key; 20,000 anonymous)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does well: it discloses deterministic output, no LLM guessing, uniqueness, occurrence counts, source contexts, titles, categories, and source URLs. It does not cover no-match behavior or authorization/rate-limit context beyond what the schema states.

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?

The description is front-loaded and each sentence adds useful information about determinism, return fields, and provenance. It is slightly dense in the return-value sentence but not wasteful.

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 extraction tool without an output schema, the description explains the return shape and provenance well, while the schema covers input limits. Minor gaps remain around empty results and error behavior.

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%, so the single text parameter is already documented in the schema. The description reinforces that the input is solicitation text but does not add format examples or parsing constraints beyond that.

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 states a specific action, resource, and scope: deterministically extracting every FAR and DFARS clause reference from solicitation text. This clearly frames it as a bulk extraction tool rather than a single-clause lookup or matrix view.

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

Usage Guidelines3/5

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

Usage is implied by the solicitation-text input and the extraction scope, but the description does not explicitly say when to use this tool versus lookup_clause or clause_matrix. It also gives no exclusions or prerequisites beyond the input limits already in the schema.

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.

Resources