Skip to main content
Glama

deal_status

Read-only

A deal's parties, who agreed to which version, the agreed version, deliveries (files, fingerprints), its payments (memo, amount, status, transaction) and total paid, off-chain payments (recorded, confirmed or disputed), and ratings. For a decision file, its state too (open, agreed with chosen, split, settled, landed). 0.86.0: when more than one version was agreed, agreed_versions lists them all; one that a later version replaced says replaced_by, replaced_at and without (its parties the later one went on without).

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": {
      "workspace_id": "<workspace_id>",
      "path": "<path>"
    },
    "name": "deal_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesThe deal file, like 'deals/logo.md'.
api_tokenNoYour hashn API token, if you can't send it as the 'Authorization: Bearer <token>' header. Omit it when the header is set.
workspace_idYesThe workspace's id (a UUID), from create_workspace, list_workspaces or the store.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / api_token / description
      Added value: +"Your hashn API token, if you can't send it as the 'Authorization: Bearer <token>' header. Omit it when the header is set."
    • addedInput schema / properties / path / description
      Added value: +"The deal file, like 'deals/logo.md'."
    • addedInput schema / properties / workspace_id / description
      Added value: +"The workspace's id (a UUID), from create_workspace, list_workspaces or the store."
  2. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds meaningful behavioral context beyond that: it explains the decision-file state values and the 0.86.0 versioning behavior where replaced agreements expose replaced_by, replaced_at, and without. It does not cover permissions, errors, or rate limits, but for a read-only status tool this is strong added context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is relevant, especially because there is no output schema, but it is delivered as a long, dense enumeration rather than being front-loaded with a clear purpose statement. The 0.86.0 version note is useful but reads like a changelog inserted into the description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given that there is no output schema, the description thoroughly explains the return contents, including deal parties, agreement versions, deliveries, payments, off-chain payment states, ratings, decision-file states, and version-replacement metadata. Combined with a fully described input schema and annotations covering read-only behavior, an agent has enough information to call and interpret this tool correctly.

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 description coverage is 100%, so workspace_id, path, and api_token are already well documented in the schema. The description adds no additional meaning about parameter formats, path resolution, or token handling, so the baseline score of 3 is appropriate.

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 clearly identifies the resource as a deal's status and enumerates the specific data returned: parties, agreements, deliveries, payments, off-chain payments, ratings, and decision-file states. It does not use an explicit verb like 'returns' or 'retrieves', and it does not explicitly differentiate itself from sibling status tools such as payment_status or notification_status.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no indication of when not to use this tool, and no named alternatives. The description focuses entirely on what data is included, leaving an agent to infer that this is the tool for retrieving deal status.

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