Skip to main content
Glama

FarmDash Agent OS

patch_farming_context

Idempotent

Patch the shared FarmingContext for a live agent session. Server controls revision, sessionId, and agentAddress.

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": {
      "sessionId": "<sessionId>",
      "agentAddress": "<agentAddress>",
      "sessionToken": "<sessionToken>",
      "patch": "<patch>"
    },
    "name": "patch_farming_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
patchYes
sessionIdYes
agentAddressYes
sessionTokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful context beyond that: 'Patch' implies a merge rather than replacement, and the server owns the revision counter, which signals optimistic-concurrency behavior. It stops short of saying what happens on revision conflicts, how sessionToken is validated, or what the response contains.

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?

Two tight sentences, no filler, with the core action front-loaded. The brevity is efficient rather than padded, though it borders on under-specification given the schema gaps.

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

Completeness2/5

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

This is a mutating, token-authenticated operation on a nested free-form object with no output schema to explain results. The description never describes merge semantics for the patch payload, what fields a FarmingContext holds, how revision conflicts surface, or what a successful response looks like — all of which an agent needs before constructing a call.

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?

Schema description coverage is 0% across four required parameters, including a free-form nested 'patch' object whose accepted keys and value shapes are entirely undocumented. The description mentions only sessionId and agentAddress (and asserts the server 'controls' them, which sits awkwardly with the schema marking them required inputs) and says nothing about sessionToken or what belongs inside patch. With this coverage gap the description needed to do the heavy lifting and 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?

States a specific verb ('Patch') and resource ('the shared FarmingContext') with a scope qualifier ('for a live agent session'), so an agent can tell it apart from the read-side 'get_farming_context' sibling by verb alone. It does not explicitly name or contrast with any alternative, keeping it below a 5.

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 statement of when to use this over get_farming_context, no precondition that a live session must already exist, and no guidance on when patching is preferable to other session/context operations. Only the implicit 'live agent session' phrase hints at a context of use.

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