Skip to main content
Glama

Get Closeout Document

get_closeout_document
Read-onlyIdempotent

Use this when working with RetailHardHat field_operations records in the connected organization. Read a closeout document record. MCP approval requirements are configurable by the organization administrator; business workflow approvals always apply.

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": {
      "closeoutDocumentId": "<closeoutDocumentId>"
    },
    "name": "get_closeout_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
closeoutDocumentIdYes

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is clear. The description adds a useful behavioral note about MCP and business workflow approvals, though this is generic and could apply to many tools. It does not disclose anything specific about the closeout document itself, such as missing-record behavior or approval-gated access to this particular resource.

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 three short sentences and front-loads the action ('Read a closeout document record') after a brief context sentence. The approval sentence adds some value but is somewhat boilerplate and could have been condensed or omitted for this simple read operation.

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?

An output schema exists, so the description need not explain return values. For a simple one-parameter read tool with full annotations, the definition is mostly adequate, but the unexplained closeoutDocumentId and the lack of any note on lookup failures or approval-gated record access leave a noticeable gap.

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?

The input schema has one required parameter, closeoutDocumentId, with 0% schema description coverage. The description only implies that a document record is being read and does not explain what the UUID identifies, how to obtain it, or whether it expects the closeout document ID rather than a project/site ID. With low schema coverage, the description should compensate but does not.

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?

The description uses a specific verb+resource combination: 'Read a closeout document record,' which is unambiguous about what the tool does and is distinguishable from list_closeout_documents, update_closeout_document, and delete_closeout_document. The additional RetailHardHat field_operations framing adds context but is not necessary for understanding the action.

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?

The opening sentence gives a context ('working with RetailHardHat field_operations records in the connected organization'), which implies when the tool is relevant. However, it does not explicitly contrast with list_closeout_documents (to find documents) or read_* document siblings, nor does it state when not to use this tool. Usage is implied rather than directed.

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