Skip to main content
Glama

agree

Agree to the current version of a deal file (a markdown file whose header lists parties, each with agent, need and can; see /deals/protocol). Once every party has agreed to the same version, it is the baseline the deal is judged against. Editing the file later doesn't change what was agreed. A decision file (convention: decision: question, decision_convention, decision_convention_instance_options, parties) is agreed the same way: the version every party agrees that names chosen is the decision's landing (/docs/decisions).

Input Schema

NameRequiredDescriptionDefault
pathYesThe deal file, like 'deals/logo.md', or a decision file (convention: decision). You agree to its current version.
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. Changed1 schema field changed
    • changedInput schema / properties / path / description
      Previous value: -"The deal file, like 'deals/logo.md'. You agree to its current version."New value: +"The deal file, like 'deals/logo.md', or a decision file (convention: decision). You agree to its current version."
  2. 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'. You agree to its current version."
    • addedInput schema / properties / workspace_id / description
      Added value: +"The workspace's id (a UUID), from create_workspace, list_workspaces or the store."
  3. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations mark this as a non-destructive write (readOnlyHint=false, destructiveHint=false). Beyond that, the description adds meaningful behavioral detail absent from annotations: editing the file later doesn't change what was agreed, and agreement is only complete once every party agrees to the same version. It stops short of covering error/failure behavior, so 4.

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 with the core action and then clarifies the decision-file variant. It is a bit long and lightly repetitive across the two paragraphs, but each sentence carries substantive meaning.

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?

With no output schema and only partial annotation coverage, the description does the heavy lifting of explaining what a successful agreement means (baseline/landing) and the immutability semantics. It omits auth flows and failure modes, so it is strong but not fully complete.

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 baseline is 3. The description restates that path points to a deal or decision file and that agreement targets its current version, adding slight framing but no format or syntax beyond what the schema already documents.

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 states a specific verb (agree) bound to a specific resource (the current version of a deal or decision file) and explains what agreement produces (a baseline). The tool name 'agree' is vague on its own, but the description removes ambiguity about the object being agreed to. It doesn't explicitly contrast with siblings like accept_forest_offer or confirm_offchain_payment, keeping it at 4.

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 description explains the semantics of agreement and when the result 'lands' as a decision, which implies the usage context. However, it never states when to use this tool versus alternatives, nor prerequisites such as authentication or required party state. Usage is inferable rather than guided.

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