You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The MCP tools run on the organization's tool-conventions module,
nlink-jp/mcptool (ADR-0002, organization ADR-031): arguments are decoded
before a tool runs, and the server is run by mcptool's serve.Run. What an
MCP client sees (the CLI is unchanged):
Argument errors are invalid_arguments, naming the argument in details.argument, in place of invalid_argument — whether the call
was refused at decoding (an unknown or wrong-typed argument, now worded unknown argument "…" / argument "…" must be …), by a tool (an empty
value, a range, a contradicting combination) or by the engine (an
internal address, an unknown filter or facet, a port that needs transport). A required argument left out is missing_argument. The get_usage manual's recovery table has both rows.
Results are JSON on one line (no indentation), and <, > and & arrive
unescaped (a banner's & no longer arrives as \u0026). The values are
the same.
The response budget measures the result as it is sent, so more fits:
fewer services, rows and facet values are thinned, fewer banners are
shortened, and a result the 128 KB ceiling withheld may now be returned.
With several problems in one call, the first one reported may change
(unknown → missing → type).
Fixed
A field over 1000 characters was named twice in notes (the backstop ran
inside the tool and again at the ceiling, and a shortened string, at 1001
characters with its mark, was shortened again). It is now shortened to 1000
characters, the mark included, and named once.
A banner holding an invalid UTF-8 byte was cut in the wrong place when lookup_host shortened it: the cut advanced three bytes through the banner
for a one-byte invalid byte, so it kept up to two bytes past the limit,
could split a multi-byte character, and failed the call when the invalid
byte was within two bytes of the end. The cut now follows the banner, and
the shortening counts exactly the bytes sent (\b and \f as two, an
invalid byte and U+FFFD as three), where it counted six for each before.