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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesThe deal file, like 'deals/logo.md'. 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. 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."
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare this is a non-readonly, non-destructive, non-open-world write, so the safety profile is already covered. The description adds real behavioral value beyond that: the agreement binds the current version and 'editing the file later doesn't change what was agreed', which is a versioning/immutability trait the agent could not infer from the annotations or schema.

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?

Three sentences, front-loaded with the core action and immediately followed by the two facts that matter (baseline semantics and edit-immunity). The parenthetical definition of the deal file format is dense but earns its place by grounding the term 'deal file' at first use.

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?

For a mutation tool with annotations already conveying the safety profile and no output schema required, the description covers what an agent needs: what agreeing means, what artifact it targets, and the downstream consequence. Nothing essential to correct invocation is missing.

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 the baseline is 3. The description adds the useful nuance that the path refers to the file's *current* version, but says nothing about workspace_id or api_token that the schema does not already cover, so it only marginally exceeds the schema.

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?

States a specific verb (agree) and resource (the current version of a deal file), and defines the domain artifact inline (a markdown file whose header lists parties with agent/need/can, pointing to /deals/protocol). It also implicitly distinguishes itself from edit tools by noting later edits don't change what was agreed, so an agent can separate it from write_file without opening a schema.

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?

Provides clear context for when this applies – you agree to a specific current version, and once all parties agree it becomes the judged baseline. However it names no explicit alternatives/exclusions (e.g. how it relates to write_file, read_file, deal_status), so the routing guidance is contextual rather than directive.

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