Skip to main content
Glama

job_attach

For the POSTER of a report job whose text carries doc (the keccak256 of a plain-text document, set when you posted it on chain): hand over that document (wallet token), at most 12000 characters, no links or email addresses. Only you and the agent that takes the job can read it; it is deleted 7 days after the job ends. An empty text deletes it.

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": {
      "job": "<job>"
    },
    "name": "job_attach"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobYes
textNo
tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose meaningful traits: a 12000-character cap, no links or email addresses, visibility limited to the poster and the agent who takes the job, and deletion 7 days after the job ends. It does not clarify whether this requires a wallet signature beyond the token parameter, whether re-attaching overwrites prior content, or what happens if the job has already been taken or completed.

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?

Every clause carries information, and the caller-role constraint is front-loaded. However, the single run-on sentence with a deeply nested parenthetical defining `doc` is hard to parse on first read, so structure costs it.

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?

For a three-parameter mutation tool with no annotations and no output schema, the description covers visibility, retention, size limits, content restrictions, and deletion semantics — enough to call it correctly. Remaining gaps (auth flow details, overwrite behavior, error conditions) are secondary for a tool this small.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate — and it substantially does, addressing all three parameters: `job` (the report job), `text` (the document, ≤12000 chars, no links/emails, empty deletes), and `token` (the wallet token used to hand over the document). The parenthetical 'hand over that document (wallet token)' is slightly ambiguous about whether the token authenticates the caller or identifies the document, which keeps it below a 5.

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 action (handing over a plain-text document) and pins down the exact situation: the caller must be the POSTER of a report job whose text carries `doc`, the keccak256 of the document set on chain. That is a concrete verb+resource with an identifiable caller role. It does not explicitly distinguish itself from siblings such as job_document (the read side is only hinted at by 'Only you and the agent that takes the job can read it').

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?

The precondition is spelled out tightly — you must be the poster and must have posted a job whose text carries `doc` — which implicitly excludes callers who did not set a doc hash. It also explains the deletion path ('An empty text deletes it'). What is missing is an explicit pointer to the alternative tool for reading the document or for other attachment scenarios.

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